From 299252e00b530c5c63b21aa3ee555c45b369f652 Mon Sep 17 00:00:00 2001 From: "ezio.melotti" Date: Thu, 31 Dec 2009 13:27:41 +0000 Subject: [PATCH] indentation and further alignment with py3k git-svn-id: http://svn.python.org/projects/python/trunk@77180 6015fed2-1504-0410-9fe1-9d1591cc4771 --- Lib/test/test_zipfile.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Lib/test/test_zipfile.py b/Lib/test/test_zipfile.py index e41c0accc2..27591b78b5 100644 --- a/Lib/test/test_zipfile.py +++ b/Lib/test/test_zipfile.py @@ -562,10 +562,10 @@ class PyZipFileTests(unittest.TestCase): os.mkdir(TESTFN2) try: with open(os.path.join(TESTFN2, "mod1.py"), "w") as fp: - fp.write("print 42\n") + fp.write("print(42)\n") with open(os.path.join(TESTFN2, "mod2.py"), "w") as fp: - fp.write("print 42 * 42\n") + fp.write("print(42 * 42)\n") with open(os.path.join(TESTFN2, "mod2.txt"), "w") as fp: fp.write("bla bla bla\n") @@ -869,7 +869,7 @@ class TestsWithRandomBinaryFiles(unittest.TestCase): def setUp(self): datacount = randint(16, 64)*1024 + randint(1, 1024) self.data = ''.join(struct.pack('