More prints embedded in strings.

This commit is contained in:
Guido van Rossum 2007-02-09 22:18:41 +00:00
parent ceae375da1
commit 43fc78ddc8
1 changed files with 2 additions and 2 deletions

View File

@ -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")