aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/tools/unittests/testdata/d8_mocked1.py
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/tools/unittests/testdata/d8_mocked1.py')
-rw-r--r--deps/v8/tools/unittests/testdata/d8_mocked1.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/deps/v8/tools/unittests/testdata/d8_mocked1.py b/deps/v8/tools/unittests/testdata/d8_mocked1.py
index 53405a6626..ff330af8c4 100644
--- a/deps/v8/tools/unittests/testdata/d8_mocked1.py
+++ b/deps/v8/tools/unittests/testdata/d8_mocked1.py
@@ -3,5 +3,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-print 'Richards: 1.2'
-print 'DeltaBlue: 2.1'
+# for py2/py3 compatibility
+from __future__ import print_function
+
+print('Richards: 1.2')
+print('DeltaBlue: 2.1')