summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/bluetooth/testing/clusterfuzz/PRESUBMIT.py
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/bluetooth/testing/clusterfuzz/PRESUBMIT.py')
-rw-r--r--chromium/third_party/blink/renderer/modules/bluetooth/testing/clusterfuzz/PRESUBMIT.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/chromium/third_party/blink/renderer/modules/bluetooth/testing/clusterfuzz/PRESUBMIT.py b/chromium/third_party/blink/renderer/modules/bluetooth/testing/clusterfuzz/PRESUBMIT.py
index 9c3f101ac51..8b5b6a4360c 100644
--- a/chromium/third_party/blink/renderer/modules/bluetooth/testing/clusterfuzz/PRESUBMIT.py
+++ b/chromium/third_party/blink/renderer/modules/bluetooth/testing/clusterfuzz/PRESUBMIT.py
@@ -3,6 +3,8 @@
# found in the LICENSE file.
"""Script that runs tests before uploading a patch."""
+USE_PYTHON3 = True
+
def _RunTests(input_api, output_api):
"""Runs all test files in the directory."""
@@ -11,7 +13,7 @@ def _RunTests(input_api, output_api):
test_cmd = input_api.Command(
name=cmd_name, cmd=cmd, kwargs={}, message=output_api.PresubmitError)
if input_api.verbose:
- print 'Running ' + cmd_name
+ print('Running ' + cmd_name)
return input_api.RunTests([test_cmd])