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

Unified Diff: test/mac/gyptest-strip.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-strip.py
diff --git a/test/mac/gyptest-strip.py b/test/mac/gyptest-strip.py
index a729521e18459b5bcad40c81a18794d040aa2b34..692c928f001ba118e681b14b22c363261fa28c0b 100755
--- a/test/mac/gyptest-strip.py
+++ b/test/mac/gyptest-strip.py
@@ -8,6 +8,8 @@
Verifies that stripping works.
"""
+from __future__ import print_function
+
import TestGyp
import TestMac
@@ -33,7 +35,7 @@ if sys.platform == 'darwin':
m = r.search(o)
n = int(m.group(1))
if n != n_expected:
- print 'Stripping: Expected %d symbols, got %d' % (n_expected, n)
+ print('Stripping: Expected %d symbols, got %d' % (n_expected, n))
test.fail_test()
# Starting with Xcode 5.0, clang adds an additional symbols to the compiled

Powered by Google App Engine
This is Rietveld 408576698