diff --git a/presubmit_canned_checks.py b/presubmit_canned_checks.py index 6ca36973a..9dc48e2fd 100644 --- a/presubmit_canned_checks.py +++ b/presubmit_canned_checks.py @@ -839,7 +839,7 @@ def GetUnitTests(input_api, message=message_type)) test_run = True if not test_run: - results.append(output_api.PresubmitPromptWarning( + 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)) return results