aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/tools/release/script_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/tools/release/script_test.py')
-rwxr-xr-xdeps/v8/tools/release/script_test.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/deps/v8/tools/release/script_test.py b/deps/v8/tools/release/script_test.py
index b9a17e97fa..0f345b7fa8 100755
--- a/deps/v8/tools/release/script_test.py
+++ b/deps/v8/tools/release/script_test.py
@@ -29,6 +29,9 @@
# Wraps test execution with a coverage analysis. To get the best speed, the
# native python coverage version >= 3.7.1 should be installed.
+# for py2/py3 compatibility
+from __future__ import print_function
+
import coverage
import os
import unittest
@@ -46,7 +49,7 @@ def Main(argv):
])
unittest.TextTestRunner(verbosity=2).run(unittest.TestSuite(alltests))
cov.stop()
- print cov.report()
+ print(cov.report())
if __name__ == '__main__':