Lines Matching refs:zipfile
14 import zipfile, os, unittest
40 zipfp = zipfile.ZipFile(f, "w", compression)
59 zipfp = zipfile.ZipFile(f, "r", compression)
75 self.zipTest(f, zipfile.ZIP_STORED)
77 self.zipTest(TESTFN2, zipfile.ZIP_STORED)
84 self.zipTest(f, zipfile.ZIP_DEFLATED)
86 self.zipTest(TESTFN2, zipfile.ZIP_DEFLATED)
98 zipf = zipfile.ZipFile(TESTFN, mode="w", allowZip64=True)
106 zipf2 = zipfile.ZipFile(TESTFN, mode="r")
114 zipf = zipfile.ZipFile(TESTFN, mode="w", allowZip64=False)
120 with self.assertRaises(zipfile.LargeZipFile):
125 zipf = zipfile.ZipFile(TESTFN, mode="a", allowZip64=False)
128 with self.assertRaises(zipfile.LargeZipFile):
133 zipf = zipfile.ZipFile(TESTFN, mode="a", allowZip64=True)
142 zipf2 = zipfile.ZipFile(TESTFN, mode="r")