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

Unified Diff: test/win/gyptest-link-large-pdb.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-large-pdb.py
diff --git a/test/win/gyptest-link-large-pdb.py b/test/win/gyptest-link-large-pdb.py
index 4604745d142ceb0ddfcd2df014f051e59806530c..1fb27b0ab716dfb9869bd52a784070c0139fb636 100644
--- a/test/win/gyptest-link-large-pdb.py
+++ b/test/win/gyptest-link-large-pdb.py
@@ -8,13 +8,15 @@
Make sure msvs_large_pdb works correctly.
"""
+from __future__ import print_function
+
import TestGyp
import struct
import sys
if sys.platform == 'win32':
- print "This test is currently disabled: https://crbug.com/483696."
+ print("This test is currently disabled: https://crbug.com/483696.")
sys.exit(0)
@@ -37,8 +39,8 @@ def CheckImageAndPdb(test, image_basename, expected_page_size,
pdb_file.seek(32, 0)
page_size = struct.unpack('<I', pdb_file.read(4))[0]
if page_size != expected_page_size:
- print "Expected page size of %d, got %d for PDB file `%s'." % (
- expected_page_size, page_size, pdb_path)
+ print("Expected page size of %d, got %d for PDB file `%s'." % (
+ expected_page_size, page_size, pdb_path))
if sys.platform == 'win32':

Powered by Google App Engine
This is Rietveld 408576698