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

Unified Diff: test/variables/commands/gyptest-commands-ignore-env.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-ignore-env.py
diff --git a/test/variables/commands/gyptest-commands-ignore-env.py b/test/variables/commands/gyptest-commands-ignore-env.py
index 1cf3308dc4e1d418e6897409f9230113f1d63c2b..5470d5ce36455fa33a79205ed664ab4cb0013acd 100755
--- a/test/variables/commands/gyptest-commands-ignore-env.py
+++ b/test/variables/commands/gyptest-commands-ignore-env.py
@@ -9,6 +9,7 @@ Test that environment variables are ignored when --ignore-environment is
specified.
"""
+from __future__ import print_function
import os
import TestGyp
@@ -39,7 +40,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