Index: test/mac/gyptest-postbuild-fail.py |
diff --git a/test/mac/gyptest-postbuild-fail.py b/test/mac/gyptest-postbuild-fail.py |
index 9cd5d47d28bf3e4ba020de4aea355da73eefdf0b..f7502ea10a3a0111d5b9fc8005ef12474f26da6c 100755 |
--- a/test/mac/gyptest-postbuild-fail.py |
+++ b/test/mac/gyptest-postbuild-fail.py |
@@ -8,6 +8,8 @@ |
Verifies that a failing postbuild step lets the build fail. |
""" |
+from __future__ import print_function |
+ |
import TestGyp |
import sys |
@@ -39,7 +41,7 @@ if sys.platform == 'darwin': |
stderr=subprocess.STDOUT) |
out, err = job.communicate() |
if job.returncode != 0: |
- print out |
+ print(out) |
raise Exception('Error %d running xcodebuild' % job.returncode) |
if out.startswith('Xcode 3.'): |
test.pass_test() |