| Index: test/mac/gyptest-app.py
|
| diff --git a/test/mac/gyptest-app.py b/test/mac/gyptest-app.py
|
| index be92d01aed489f4e4987a2f505cc0f17db1fdd4d..16c96403733e6124accddb1e448e6c52fbf43ea7 100755
|
| --- a/test/mac/gyptest-app.py
|
| +++ b/test/mac/gyptest-app.py
|
| @@ -8,6 +8,8 @@
|
| Verifies that app bundles are built correctly.
|
| """
|
|
|
| +from __future__ import print_function
|
| +
|
| import TestGyp
|
| import TestMac
|
|
|
| @@ -18,7 +20,7 @@ import sys
|
|
|
|
|
| if sys.platform in ('darwin', 'win32'):
|
| - print "This test is currently disabled: https://crbug.com/483696."
|
| + print("This test is currently disabled: https://crbug.com/483696.")
|
| sys.exit(0)
|
|
|
|
|
| @@ -26,12 +28,12 @@ def CheckFileXMLPropertyList(file):
|
| output = subprocess.check_output(['file', file])
|
| # The double space after XML is intentional.
|
| if not 'XML document text' in output:
|
| - print 'File: Expected XML document text, got %s' % output
|
| + print('File: Expected XML document text, got %s' % output)
|
| test.fail_test()
|
|
|
| def ExpectEq(expected, actual):
|
| if expected != actual:
|
| - print >>sys.stderr, 'Expected "%s", got "%s"' % (expected, actual)
|
| + print('Expected "%s", got "%s"' % (expected, actual), file=sys.stderr)
|
| test.fail_test()
|
|
|
| def ls(path):
|
|
|