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

Unified Diff: test/mac/gyptest-lto.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-lto.py
diff --git a/test/mac/gyptest-lto.py b/test/mac/gyptest-lto.py
index 5171544750525991dbc56c0fc9ac7ab266db21da..9699d5cc23a7348ef8637f20dd840b489015e95a 100644
--- a/test/mac/gyptest-lto.py
+++ b/test/mac/gyptest-lto.py
@@ -8,6 +8,8 @@
Verifies that LTO flags work.
"""
+from __future__ import print_function
+
import TestGyp
import os
@@ -44,7 +46,7 @@ if sys.platform == 'darwin':
elif ': LLVM bit-code ' in o:
objtype = 'llvm'
if objtype != t_expected:
- print 'Expected %s, got %s' % (t_expected, objtype)
+ print('Expected %s, got %s' % (t_expected, objtype))
test.fail_test()
ObjType(ObjPath('cfile', 'lto'), 'llvm')

Powered by Google App Engine
This is Rietveld 408576698