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

Unified Diff: test/variables/commands/gyptest-commands.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/variables/commands/gyptest-commands.py
diff --git a/test/variables/commands/gyptest-commands.py b/test/variables/commands/gyptest-commands.py
index ef1af8c52519f6816378c42c09bc68b276f93b3b..3251120ff477af2e65af73011942c5401282c79f 100755
--- a/test/variables/commands/gyptest-commands.py
+++ b/test/variables/commands/gyptest-commands.py
@@ -8,6 +8,7 @@
Test variable expansion of '<!()' syntax commands.
"""
+from __future__ import print_function
import os
import TestGyp
@@ -32,7 +33,7 @@ test.run_gyp('commands.gyp',
contents = test.read('commands.gypd').replace('\r', '')
expect = test.read('commands.gypd.golden').replace('\r', '')
if not test.match(contents, expect):
- print "Unexpected contents of `commands.gypd'"
+ print("Unexpected contents of `commands.gypd'")
test.diff(expect, contents, 'commands.gypd ')
test.fail_test()

Powered by Google App Engine
This is Rietveld 408576698