summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-08-04 17:55:43 (GMT)
committerGuido van Rossum <guido@python.org>2007-08-04 17:55:43 (GMT)
commitf066c1ba3755e844be42ce9bc2344d34a14c5701 (patch)
tree848306b46fa93f7846f174b738ec1f73473e29ff /Lib
parentcfbbf48e3e60438036f18f0376d7deb226873a8f (diff)
downloadcpython-f066c1ba3755e844be42ce9bc2344d34a14c5701.zip
cpython-f066c1ba3755e844be42ce9bc2344d34a14c5701.tar.gz
cpython-f066c1ba3755e844be42ce9bc2344d34a14c5701.tar.bz2
Make test_tokenize really pass -- don't add extra output.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_tokenize.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_tokenize.py b/Lib/test/test_tokenize.py
index 788a04b..9ef6563 100644
--- a/Lib/test/test_tokenize.py
+++ b/Lib/test/test_tokenize.py
@@ -98,7 +98,7 @@ _PRINT_WORKING_MSG_INTERVAL = 5 * 60
# and tokenized again from the latter. The test fails if the second
# tokenization doesn't match the first.
def test_roundtrip(f):
- ## print 'Testing:', f
+ ## print('Testing:', f)
# Get the encoding first
fobj = open(f, encoding="latin-1")
first2lines = fobj.readline() + fobj.readline()
@@ -106,7 +106,7 @@ def test_roundtrip(f):
m = re.search(r"coding:\s*(\S+)", first2lines)
if m:
encoding = m.group(1)
- print(" coding:", encoding)
+ ## print(" coding:", encoding)
else:
encoding = "utf-8"
fobj = open(f, encoding=encoding)