[Python-3000-checkins] r53713 - python/branches/p3yk/Lib/test/test_tokenize.py

guido.van.rossum python-3000-checkins at python.org
Fri Feb 9 23:43:10 CET 2007


Author: guido.van.rossum
Date: Fri Feb  9 23:43:10 2007
New Revision: 53713

Modified:
   python/branches/p3yk/Lib/test/test_tokenize.py
Log:
Fix the roundtripping function.


Modified: python/branches/p3yk/Lib/test/test_tokenize.py
==============================================================================
--- python/branches/p3yk/Lib/test/test_tokenize.py	(original)
+++ python/branches/p3yk/Lib/test/test_tokenize.py	Fri Feb  9 23:43:10 2007
@@ -123,7 +123,7 @@
 def roundtrip(s):
     f = StringIO(s)
     source = untokenize(generate_tokens(f.readline))
-    print(source, end=' ')
+    print(source, end="")
 
 # This is an example from the docs, set up as a doctest.
 def decistmt(s):


More information about the Python-3000-checkins mailing list