Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Unified Diff: test/mac/gyptest-postbuild-fail.py

Issue 1454433002: Python 3 compatibility Base URL: https://chromium.googlesource.com/external/gyp.git@master
Patch Set: Rebase with master (4ec6c4e3a94bd04a6da2858163d40b2429b8aad1) Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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()

Powered by Google App Engine
This is Rietveld 408576698