Lines Matching full:zipfile

22 import zipfile
411 expected_compress_type=zipfile.ZIP_STORED):
419 zip_file = zipfile.ZipFile(zip_file_name, "r", allowZip64=True)
463 zip_file = zipfile.ZipFile(zip_file_name, "w", allowZip64=True)
468 zipfile.ZIP_STORED)
490 zip_file = zipfile.ZipFile(zip_file_name, "w", allowZip64=True)
494 zipfile.ZIP_STORED)
495 if not isinstance(zinfo_or_arcname, zipfile.ZipInfo):
531 zip_file = zipfile.ZipFile(zip_file_name, "w", allowZip64=True)
542 zipfile.ZIP_STORED)
562 self.assertEqual(default_limit, zipfile.ZIP64_LIMIT)
564 self.assertEqual(default_limit, zipfile.ZIP64_LIMIT)
575 "compress_type": zipfile.ZIP_DEFLATED,
580 "compress_type": zipfile.ZIP_STORED,
586 "compress_type": zipfile.ZIP_DEFLATED,
598 zinfo = zipfile.ZipInfo(filename="foo")
610 "compress_type": zipfile.ZIP_DEFLATED,
613 "compress_type": zipfile.ZIP_STORED,
617 zinfo = zipfile.ZipInfo(filename="foo")
619 "compress_type": zipfile.ZIP_DEFLATED,
623 "compress_type": zipfile.ZIP_STORED,
627 "compress_type": zipfile.ZIP_STORED,
631 # zipfile.writestr() doesn't work when the str size is over 2GiB even with
637 "compress_type": zipfile.ZIP_DEFLATED,
642 zinfo = zipfile.ZipInfo(filename="foo")
652 zip_file = zipfile.ZipFile(zip_file_name, "w", allowZip64=True)
658 zinfo = zipfile.ZipInfo(filename="baz")
662 zinfo = zipfile.ZipInfo(filename="qux")
685 output_zip = zipfile.ZipFile(zip_file.name, 'w',
686 compression=zipfile.ZIP_DEFLATED)
697 with zipfile.ZipFile(zip_file.name, 'r', allowZip64=True) as check_zip:
705 with zipfile.ZipFile(zip_file.name, 'r', allowZip64=True) as check_zip:
712 with zipfile.ZipFile(zip_file.name, 'r', allowZip64=True) as check_zip:
719 with zipfile.ZipFile(zip_file.name, 'r', allowZip64=True) as check_zip:
730 output_zip = zipfile.ZipFile(
731 zip_file, 'w', compression=zipfile.ZIP_DEFLATED)
887 with zipfile.ZipFile(target_files, 'w', allowZip64=True) as target_files_zip:
895 with zipfile.ZipFile(target_files, 'r', allowZip64=True) as input_zip:
908 with zipfile.ZipFile(target_files, 'r', allowZip64=True) as input_zip:
918 with zipfile.ZipFile(target_files, 'r', allowZip64=True) as input_zip:
929 with zipfile.ZipFile(target_files, 'r', allowZip64=True) as input_zip:
942 with zipfile.ZipFile(target_files, 'r', allowZip64=True) as input_zip:
952 with zipfile.ZipFile(target_files, 'r', allowZip64=True) as input_zip:
957 with zipfile.ZipFile(target_files, 'r', allowZip64=True) as input_zip:
1026 with zipfile.ZipFile(target_files, 'w', allowZip64=True) as target_files_zip:
1038 with zipfile.ZipFile(target_files, 'r', allowZip64=True) as input_zip:
1108 with zipfile.ZipFile(target_files, 'w', allowZip64=True) as target_files_zip:
1119 with zipfile.ZipFile(target_files, 'r', allowZip64=True) as input_zip:
1128 with zipfile.ZipFile(target_files, 'w', allowZip64=True) as target_files_zip:
1142 with zipfile.ZipFile(target_files, 'r', allowZip64=True) as input_zip:
1151 with zipfile.ZipFile(target_files, 'w', allowZip64=True) as target_files_zip:
1166 with zipfile.ZipFile(target_files, 'r', allowZip64=True) as input_zip:
1196 with zipfile.ZipFile(target_files, 'w', allowZip64=True) as target_files_zip:
1210 with zipfile.ZipFile(target_files, 'r', allowZip64=True) as input_zip:
1221 with zipfile.ZipFile(target_files, 'w', allowZip64=True) as target_files_zip:
1238 with zipfile.ZipFile(target_files, 'r', allowZip64=True) as input_zip:
1252 with zipfile.ZipFile(target_files, 'w', allowZip64=True) as target_files_zip:
1266 with zipfile.ZipFile(target_files, 'r', allowZip64=True) as input_zip:
1277 with zipfile.ZipFile(target_files, 'w', allowZip64=True) as target_files_zip:
1289 with zipfile.ZipFile(target_files, 'r', allowZip64=True) as input_zip:
1375 with zipfile.ZipFile(target_files, 'w', allowZip64=True) as target_files_zip:
1389 with zipfile.ZipFile(target_files, 'r', allowZip64=True) as target_files_zip:
1399 with zipfile.ZipFile(target_files, 'r', allowZip64=True) as target_files_zip:
1434 with zipfile.ZipFile(target_files, 'r', allowZip64=True) as target_files_zip:
1448 with zipfile.ZipFile(target_files, 'r', allowZip64=True) as target_files_zip:
1460 with zipfile.ZipFile(target_files, 'r', allowZip64=True) as target_files_zip:
1483 with zipfile.ZipFile(target_files, 'r', allowZip64=True) as target_files_zip:
1705 with zipfile.ZipFile(output_path, allowZip64=True) as output_zip:
1725 with zipfile.ZipFile(self.output_path, 'w', allowZip64=True) as output_zip:
1773 with zipfile.ZipFile(self.output_path, 'w', allowZip64=True) as output_zip:
1817 with zipfile.ZipFile(self.output_path, 'w', allowZip64=True) as output_zip:
1888 with zipfile.ZipFile(self.output_path, 'w', allowZip64=True) as output_zip:
1911 with zipfile.ZipFile(input_file, 'w', allowZip64=True) as input_zip:
1928 with zipfile.ZipFile(input_file, 'r', allowZip64=True) as input_zip:
1960 with zipfile.ZipFile(input_file, 'r', allowZip64=True) as input_zip:
1975 with zipfile.ZipFile(input_file, 'r', allowZip64=True) as input_zip:
1996 with zipfile.ZipFile(input_file, 'r', allowZip64=True) as input_zip:
2039 with zipfile.ZipFile(input_file, 'r', allowZip64=True) as input_zip:
2056 with zipfile.ZipFile(input_file, 'r', allowZip64=True) as input_zip:
2090 with zipfile.ZipFile(input_file, 'r', allowZip64=True) as input_zip:
2127 with zipfile.ZipFile(input_file, 'r', allowZip64=True) as input_zip:
2146 with zipfile.ZipFile(input_file, 'r', allowZip64=True) as input_zip: