summaryrefslogtreecommitdiff
path: root/deps/v8/tools/clusterfuzz/testdata/test_d8_1.py
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/tools/clusterfuzz/testdata/test_d8_1.py')
-rw-r--r--deps/v8/tools/clusterfuzz/testdata/test_d8_1.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/deps/v8/tools/clusterfuzz/testdata/test_d8_1.py b/deps/v8/tools/clusterfuzz/testdata/test_d8_1.py
index 15a93fa535..4a3d008077 100644
--- a/deps/v8/tools/clusterfuzz/testdata/test_d8_1.py
+++ b/deps/v8/tools/clusterfuzz/testdata/test_d8_1.py
@@ -2,7 +2,10 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-print """
+# for py2/py3 compatibility
+from __future__ import print_function
+
+print("""
1
v8-foozzie source: name/to/a/file.js
2
@@ -11,4 +14,4 @@ v8-foozzie source: name/to/file.js
^
3
unknown
-"""
+""")