diff options
author | Christian Heimes <christian@cheimes.de> | 2013-11-23 14:59:07 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2013-11-23 14:59:07 (GMT) |
commit | 5de397e158d538ffa065974006e58547891bd955 (patch) | |
tree | dfa6715108e51cb33635bdf23210443f42898b03 /Lib/test/test_zipfile64.py | |
parent | 4c05b472ddd4634138b6abfa857ee37761d33185 (diff) | |
parent | 2cf3917954dab65c025ea39f8b6a0298c598f9f7 (diff) | |
download | cpython-5de397e158d538ffa065974006e58547891bd955.zip cpython-5de397e158d538ffa065974006e58547891bd955.tar.gz cpython-5de397e158d538ffa065974006e58547891bd955.tar.bz2 |
merge
Diffstat (limited to 'Lib/test/test_zipfile64.py')
-rw-r--r-- | Lib/test/test_zipfile64.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_zipfile64.py b/Lib/test/test_zipfile64.py index a8fb7ab..498d464 100644 --- a/Lib/test/test_zipfile64.py +++ b/Lib/test/test_zipfile64.py @@ -38,7 +38,7 @@ class TestsWithSourceFile(unittest.TestCase): def zipTest(self, f, compression): # Create the ZIP archive. - zipfp = zipfile.ZipFile(f, "w", compression, allowZip64=True) + zipfp = zipfile.ZipFile(f, "w", compression) # It will contain enough copies of self.data to reach about 6GB of # raw data to store. @@ -92,7 +92,7 @@ class OtherTests(unittest.TestCase): def testMoreThan64kFiles(self): # This test checks that more than 64k files can be added to an archive, # and that the resulting archive can be read properly by ZipFile - zipf = zipfile.ZipFile(TESTFN, mode="w") + zipf = zipfile.ZipFile(TESTFN, mode="w", allowZip64=False) zipf.debug = 100 numfiles = (1 << 16) * 3//2 for i in range(numfiles): |