diff options
Diffstat (limited to 'deps/v8/tools/unittests/testdata/testroot2/d8_mocked.py')
-rw-r--r-- | deps/v8/tools/unittests/testdata/testroot2/d8_mocked.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/deps/v8/tools/unittests/testdata/testroot2/d8_mocked.py b/deps/v8/tools/unittests/testdata/testroot2/d8_mocked.py index e66e299bc6..48d6bcea53 100644 --- a/deps/v8/tools/unittests/testdata/testroot2/d8_mocked.py +++ b/deps/v8/tools/unittests/testdata/testroot2/d8_mocked.py @@ -6,12 +6,15 @@ Dummy d8 replacement for flaky tests. """ +# for py2/py3 compatibility +from __future__ import print_function + import os import sys PATH = os.path.dirname(os.path.abspath(__file__)) -print ' '.join(sys.argv[1:]) +print(' '.join(sys.argv[1:])) # Test files ending in 'flakes' should first fail then pass. We store state in # a file side by side with the executable. No clean-up required as all tests |