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

Unified Diff: test/standalone/gyptest-standalone.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/standalone/gyptest-standalone.py
diff --git a/test/standalone/gyptest-standalone.py b/test/standalone/gyptest-standalone.py
index 87143706ab94cbc2d43095e227a65f9c716c992e..f9a76dc6481241e41c8f3224e44a9d2cbc720c9a 100644
--- a/test/standalone/gyptest-standalone.py
+++ b/test/standalone/gyptest-standalone.py
@@ -9,6 +9,8 @@ Verifies that a project hierarchy created with the --generator-output=
option can be built even when it's relocated to a different path.
"""
+from __future__ import print_function
+
import TestGyp
import os
@@ -26,7 +28,7 @@ for root, dirs, files in os.walk("."):
file = os.path.join(root, file)
contents = open(file).read()
if 'standalone.gyp' in contents:
- print 'gyp file referenced in generated output: %s' % file
+ print('gyp file referenced in generated output: %s' % file)
test.fail_test()

Powered by Google App Engine
This is Rietveld 408576698