Lines Matching refs:ZIP_DEFLATED
267 self.zip_test(f, zipfile.ZIP_DEFLATED)
272 self.zip_open_test(f, zipfile.ZIP_DEFLATED)
277 self.zip_random_open_test(f, zipfile.ZIP_DEFLATED)
283 self.zip_readline_read_test(f, zipfile.ZIP_DEFLATED)
288 self.zip_readline_test(f, zipfile.ZIP_DEFLATED)
293 self.zip_readlines_test(f, zipfile.ZIP_DEFLATED)
298 self.zip_iterlines_test(f, zipfile.ZIP_DEFLATED)
304 with zipfile.ZipFile(TESTFN2, "w", zipfile.ZIP_DEFLATED) as zipfp:
308 with zipfile.ZipFile(TESTFN2, "r", zipfile.ZIP_DEFLATED) as zipfp:
376 zipfp.write(TESTFN, 'deflateme', zipfile.ZIP_DEFLATED)
380 self.assertEqual(dinfo.compress_type, zipfile.ZIP_DEFLATED)
539 zipfp.writestr("b.txt", "hello world", compress_type=zipfile.ZIP_DEFLATED)
546 self.assertEqual(info.compress_type, zipfile.ZIP_DEFLATED)
698 self.zip_test(f, zipfile.ZIP_DEFLATED)
796 zipfile.ZIP_DEFLATED: (
1072 self.check_testzip_with_bad_crc(zipfile.ZIP_DEFLATED)
1100 self.check_read_with_bad_crc(zipfile.ZIP_DEFLATED)
1120 self.check_read_return_size(zipfile.ZIP_DEFLATED)
1253 self.zip_test(f, zipfile.ZIP_DEFLATED)
1291 self.zip_open_test(f, zipfile.ZIP_DEFLATED)
1317 self.zip_random_open_test(f, zipfile.ZIP_DEFLATED)
1324 with zipfile.ZipFile(TESTFN2, "w", zipfile.ZIP_DEFLATED) as zipfp:
1501 self.read_test(f, zipfile.ZIP_DEFLATED)
1507 self.readline_read_test(f, zipfile.ZIP_DEFLATED)
1512 self.readline_test(f, zipfile.ZIP_DEFLATED)
1517 self.readlines_test(f, zipfile.ZIP_DEFLATED)
1522 self.iterlines_test(f, zipfile.ZIP_DEFLATED)