Lines Matching refs:ZIP_DEFLATED
272 self.zip_test(f, zipfile.ZIP_DEFLATED)
277 self.zip_open_test(f, zipfile.ZIP_DEFLATED)
282 self.zip_random_open_test(f, zipfile.ZIP_DEFLATED)
288 self.zip_readline_read_test(f, zipfile.ZIP_DEFLATED)
293 self.zip_readline_test(f, zipfile.ZIP_DEFLATED)
298 self.zip_readlines_test(f, zipfile.ZIP_DEFLATED)
303 self.zip_iterlines_test(f, zipfile.ZIP_DEFLATED)
309 with zipfile.ZipFile(TESTFN2, "w", zipfile.ZIP_DEFLATED) as zipfp:
313 with zipfile.ZipFile(TESTFN2, "r", zipfile.ZIP_DEFLATED) as zipfp:
425 zipfp.write(TESTFN, 'deflateme', zipfile.ZIP_DEFLATED)
429 self.assertEqual(dinfo.compress_type, zipfile.ZIP_DEFLATED)
590 zipfp.writestr("b.txt", "hello world", compress_type=zipfile.ZIP_DEFLATED)
597 self.assertEqual(info.compress_type, zipfile.ZIP_DEFLATED)
751 self.zip_test(f, zipfile.ZIP_DEFLATED)
918 zipfile.ZIP_DEFLATED: (
1196 self.check_testzip_with_bad_crc(zipfile.ZIP_DEFLATED)
1224 self.check_read_with_bad_crc(zipfile.ZIP_DEFLATED)
1243 self.check_read_return_size(zipfile.ZIP_DEFLATED)
1393 self.zip_test(f, zipfile.ZIP_DEFLATED)
1431 self.zip_open_test(f, zipfile.ZIP_DEFLATED)
1457 self.zip_random_open_test(f, zipfile.ZIP_DEFLATED)
1469 with zipfile.ZipFile(f, "w", zipfile.ZIP_DEFLATED) as zipfp:
1533 with zipfile.ZipFile(TESTFN2, 'w', zipfile.ZIP_DEFLATED) as zipf:
1546 with zipfile.ZipFile(TESTFN2, "w", zipfile.ZIP_DEFLATED) as zipf:
1745 self.read_test(f, zipfile.ZIP_DEFLATED)
1751 self.readline_read_test(f, zipfile.ZIP_DEFLATED)
1756 self.readline_test(f, zipfile.ZIP_DEFLATED)
1761 self.readlines_test(f, zipfile.ZIP_DEFLATED)
1766 self.iterlines_test(f, zipfile.ZIP_DEFLATED)