summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_zipfile.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-02-09 22:18:41 (GMT)
committerGuido van Rossum <guido@python.org>2007-02-09 22:18:41 (GMT)
commit43fc78ddc89ce40401643ae79a02c524c5b0872d (patch)
tree441443347def30ed0a9908a37680c4e76aeccd20 /Lib/test/test_zipfile.py
parentceae375da147be2b7ba80040d903848a133c970b (diff)
downloadcpython-43fc78ddc89ce40401643ae79a02c524c5b0872d.zip
cpython-43fc78ddc89ce40401643ae79a02c524c5b0872d.tar.gz
cpython-43fc78ddc89ce40401643ae79a02c524c5b0872d.tar.bz2
More prints embedded in strings.
Diffstat (limited to 'Lib/test/test_zipfile.py')
-rw-r--r--Lib/test/test_zipfile.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_zipfile.py b/Lib/test/test_zipfile.py
index 54684f3..56c4939 100644
--- a/Lib/test/test_zipfile.py
+++ b/Lib/test/test_zipfile.py
@@ -282,11 +282,11 @@ class PyZipFileTests(unittest.TestCase):
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")