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

Unified Diff: test/mac/gyptest-strip-default.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-default.py
diff --git a/test/mac/gyptest-strip-default.py b/test/mac/gyptest-strip-default.py
index f73fa1124cf1d426850b45715f6bb396d2a4bc48..f3baa302c44d47dd4697451b9c2ab437ccd12cdf 100644
--- a/test/mac/gyptest-strip-default.py
+++ b/test/mac/gyptest-strip-default.py
@@ -8,6 +8,8 @@
Verifies that the default STRIP_STYLEs match between different generators.
"""
+from __future__ import print_function
+
import TestGyp
import re
@@ -40,8 +42,8 @@ if sys.platform == 'darwin':
o = re.sub(r'^[a-fA-F0-9]+', 'XXXXXXXX', o, flags=re.MULTILINE)
assert not proc.returncode
if o != o_expected:
- print 'Stripping: Expected symbols """\n%s""", got """\n%s"""' % (
- o_expected, o)
+ print('Stripping: Expected symbols """\n%s""", got """\n%s"""' % (
+ o_expected, o))
test.fail_test()
CheckNsyms(OutPath('libsingle_dylib.dylib'),

Powered by Google App Engine
This is Rietveld 408576698