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

Unified Diff: test/win/gyptest-link-ordering.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/win/gyptest-link-ordering.py
diff --git a/test/win/gyptest-link-ordering.py b/test/win/gyptest-link-ordering.py
index a2527fa3b4da24ef182d59af82985e1c7d12def0..ed8ee98c9e67a44de297bb7a8012ad62bb78ac3c 100644
--- a/test/win/gyptest-link-ordering.py
+++ b/test/win/gyptest-link-ordering.py
@@ -8,6 +8,8 @@
Make sure the link order of object files is the same between msvs and ninja.
"""
+from __future__ import print_function
+
import TestGyp
import sys
@@ -48,7 +50,7 @@ _main:
'''
if expected_disasm_basic not in GetDisasm('test_ordering_exe.exe'):
- print GetDisasm('test_ordering_exe.exe')
+ print(GetDisasm('test_ordering_exe.exe'))
test.fail_test()
# Similar to above. The VS generator handles subdirectories differently.
@@ -69,7 +71,7 @@ _main:
'''
if expected_disasm_subdirs not in GetDisasm('test_ordering_subdirs.exe'):
- print GetDisasm('test_ordering_subdirs.exe')
+ print(GetDisasm('test_ordering_subdirs.exe'))
test.fail_test()
# Similar, but with directories mixed into folders (crt and main at the same
@@ -95,7 +97,7 @@ _main:
if (expected_disasm_subdirs_mixed not in
GetDisasm('test_ordering_subdirs_mixed.exe')):
- print GetDisasm('test_ordering_subdirs_mixed.exe')
+ print(GetDisasm('test_ordering_subdirs_mixed.exe'))
test.fail_test()
test.pass_test()

Powered by Google App Engine
This is Rietveld 408576698