Home | History | Annotate | Download | only in test

Lines Matching refs:zipfile

1 # Tests of the full ZIP64 functionality of zipfile

20 import zipfile, os, unittest
38 line_gen = ("Test of zipfile line %d." % i for i in xrange(1000000))
48 zipfp = zipfile.ZipFile(f, "w", compression, allowZip64=True)
67 zipfp = zipfile.ZipFile(f, "r", compression)
83 self.zipTest(f, zipfile.ZIP_STORED)
90 self.zipTest(f, zipfile.ZIP_DEFLATED)
101 # and that the resulting archive can be read properly by ZipFile
102 zipf = zipfile.ZipFile(TESTFN, mode="w")
110 zipf2 = zipfile.ZipFile(TESTFN, mode="r")