[Python-3000-checkins] r53709 - python/branches/p3yk/Lib/test/test_zipfile.py

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


Author: guido.van.rossum
Date: Fri Feb  9 23:18:41 2007
New Revision: 53709

Modified:
   python/branches/p3yk/Lib/test/test_zipfile.py
Log:
More prints embedded in strings.


Modified: python/branches/p3yk/Lib/test/test_zipfile.py
==============================================================================
--- python/branches/p3yk/Lib/test/test_zipfile.py	(original)
+++ python/branches/p3yk/Lib/test/test_zipfile.py	Fri Feb  9 23:18:41 2007
@@ -282,11 +282,11 @@
         os.mkdir(TESTFN2)
         try:
             fp = open(os.path.join(TESTFN2, "mod1.py"), "w")
-            fp.write("print 42\n")
+            fp.write("print(42)\n")
             fp.close()
 
             fp = open(os.path.join(TESTFN2, "mod2.py"), "w")
-            fp.write("print 42 * 42\n")
+            fp.write("print(42 * 42)\n")
             fp.close()
 
             fp = open(os.path.join(TESTFN2, "mod2.txt"), "w")


More information about the Python-3000-checkins mailing list