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

Unified Diff: test/mac/gyptest-app-assets-catalog.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-app-assets-catalog.py
diff --git a/test/mac/gyptest-app-assets-catalog.py b/test/mac/gyptest-app-assets-catalog.py
index ca76b513aa735e01c547b413007913e48fe536aa..7b1c0f67deeb49a99d0652884373d991f478c356 100755
--- a/test/mac/gyptest-app-assets-catalog.py
+++ b/test/mac/gyptest-app-assets-catalog.py
@@ -8,6 +8,8 @@
Verifies that app bundles are built correctly.
"""
+from __future__ import print_function
+
import TestGyp
import TestMac
@@ -17,12 +19,12 @@ import subprocess
import sys
if sys.platform == 'darwin':
- print "This test is currently disabled: https://crbug.com/483696."
+ print("This test is currently disabled: https://crbug.com/483696.")
sys.exit(0)
def ExpectEq(expected, actual):
if expected != actual:
- print >>sys.stderr, 'Expected "%s", got "%s"' % (expected, actual)
+ print('Expected "%s", got "%s"' % (expected, actual), file=sys.stderr)
test.fail_test()
def ls(path):

Powered by Google App Engine
This is Rietveld 408576698