diff --git a/presubmit_canned_checks.py b/presubmit_canned_checks.py index 9c3e1fc21..d3b8d4182 100644 --- a/presubmit_canned_checks.py +++ b/presubmit_canned_checks.py @@ -835,9 +835,10 @@ def GetUnitTests(input_api, message=message_type)) test_run = True if not test_run: - results.append(output_api.PresubmitError( - "The %s test was not run. You may need to add\n" - "skip_shebang_check=True for python3 tests." % unit_test)) + output_api.PresubmitPromptWarning( + "Some python tests were not run. You may need to add\n" + "skip_shebang_check=True for python3 tests.", + items=unit_test) return results