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

Unified Diff: test/ios/gyptest-extension.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/ios/gyptest-extension.py
diff --git a/test/ios/gyptest-extension.py b/test/ios/gyptest-extension.py
index c5e76d93ff259aea1d36b3410fbd2ef7e500d0a2..7c226ebfb891769f0f71cf1b2c1192e95ada8e51 100755
--- a/test/ios/gyptest-extension.py
+++ b/test/ios/gyptest-extension.py
@@ -8,6 +8,8 @@
Verifies that ios app extensions are built correctly.
"""
+from __future__ import print_function
+
import TestGyp
import TestMac
import subprocess
@@ -15,12 +17,12 @@ import sys
def CheckStrip(p, expected):
if expected not in subprocess.check_output(['nm','-gU', p]):
- print expected + " shouldn't get stripped out."
+ print(expected + " shouldn't get stripped out.")
test.fail_test()
def CheckEntrypoint(p, expected):
if expected not in subprocess.check_output(['nm', p]):
- print expected + "not found."
+ print(expected + "not found.")
test.fail_test()
if sys.platform == 'darwin' and TestMac.Xcode.Version()>="0600":

Powered by Google App Engine
This is Rietveld 408576698