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

Unified Diff: test/determinism/gyptest-solibs.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/determinism/gyptest-solibs.py
diff --git a/test/determinism/gyptest-solibs.py b/test/determinism/gyptest-solibs.py
index de9588db1cf24e2dcd5c65ba3b9cb50a0a8f6050..a9c312573bd804bb9676e9c15f52bf5c70d4dc75 100644
--- a/test/determinism/gyptest-solibs.py
+++ b/test/determinism/gyptest-solibs.py
@@ -9,6 +9,8 @@ Verifies builds are the same even with different PYTHONHASHSEEDs.
Tests all_targets, implicit_deps and solibs.
"""
+from __future__ import print_function
+
import os
import sys
import TestGyp
@@ -28,7 +30,7 @@ if test.format == 'ninja':
if base1 != contents1:
test.fail_test()
if base2 != contents2:
- print base2
+ print(base2)
test.fail_test()
del os.environ["PYTHONHASHSEED"]

Powered by Google App Engine
This is Rietveld 408576698