py$(PYV): commands[0]> python -m unittest -v test_copy_by_name (tests.test_zipfile.Bzip2CopyTests.test_copy_by_name) ... ok test_copy_by_zinfo (tests.test_zipfile.Bzip2CopyTests.test_copy_by_zinfo) ... ok test_copy_closed (tests.test_zipfile.Bzip2CopyTests.test_copy_closed) ... ok test_copy_data_descriptor (tests.test_zipfile.Bzip2CopyTests.test_copy_data_descriptor) ... ok test_copy_mode_w (tests.test_zipfile.Bzip2CopyTests.test_copy_mode_w) ... ok test_copy_mode_x (tests.test_zipfile.Bzip2CopyTests.test_copy_mode_x) ... ok test_copy_target_exist (tests.test_zipfile.Bzip2CopyTests.test_copy_target_exist) ... ok test_copy_unseekble (tests.test_zipfile.Bzip2CopyTests.test_copy_unseekble) ... ok test_copy_writing (tests.test_zipfile.Bzip2CopyTests.test_copy_writing) ... ok test_copy_zip64 (tests.test_zipfile.Bzip2CopyTests.test_copy_zip64) ... ok test_remove_by_name (tests.test_zipfile.Bzip2RemoveTests.test_remove_by_name) ... ok test_remove_by_name_duplicated (tests.test_zipfile.Bzip2RemoveTests.test_remove_by_name_duplicated) ... ok test_remove_by_name_nonexist (tests.test_zipfile.Bzip2RemoveTests.test_remove_by_name_nonexist) ... ok test_remove_by_zinfo (tests.test_zipfile.Bzip2RemoveTests.test_remove_by_zinfo) ... ok test_remove_by_zinfo_duplicated (tests.test_zipfile.Bzip2RemoveTests.test_remove_by_zinfo_duplicated) ... ok test_remove_by_zinfo_nonexist (tests.test_zipfile.Bzip2RemoveTests.test_remove_by_zinfo_nonexist) ... ok test_remove_closed (tests.test_zipfile.Bzip2RemoveTests.test_remove_closed) ... ok test_remove_mode_r (tests.test_zipfile.Bzip2RemoveTests.test_remove_mode_r) ... ok test_remove_mode_w (tests.test_zipfile.Bzip2RemoveTests.test_remove_mode_w) ... ok test_remove_mode_x (tests.test_zipfile.Bzip2RemoveTests.test_remove_mode_x) ... ok test_remove_writing (tests.test_zipfile.Bzip2RemoveTests.test_remove_writing) ... ok test_remove_zip64 (tests.test_zipfile.Bzip2RemoveTests.test_remove_zip64) ... ok test_repack_basic (tests.test_zipfile.Bzip2RepackTests.test_repack_basic) Should remove local file entries for deleted files. ... ok test_repack_bytes_after_removed_files (tests.test_zipfile.Bzip2RepackTests.test_repack_bytes_after_removed_files) Should keep extra bytes if there are bytes after stale local file entries. ... ok test_repack_bytes_before_first_file (tests.test_zipfile.Bzip2RepackTests.test_repack_bytes_before_first_file) Should preserve random bytes before the first recorded local file entry. ... ok test_repack_bytes_before_removed_files (tests.test_zipfile.Bzip2RepackTests.test_repack_bytes_before_removed_files) Should preserve if there are bytes before stale local file entries. ... ok test_repack_bytes_between_removed_files (tests.test_zipfile.Bzip2RepackTests.test_repack_bytes_between_removed_files) Should strip only local file entries before random bytes. ... ok test_repack_closed (tests.test_zipfile.Bzip2RepackTests.test_repack_closed) ... ok test_repack_file_entry_before_first_file (tests.test_zipfile.Bzip2RepackTests.test_repack_file_entry_before_first_file) Should preserve seemingly valid file entries not forming consecutive ... ok test_repack_magic_before_first_file (tests.test_zipfile.Bzip2RepackTests.test_repack_magic_before_first_file) Should preserve random signature bytes not forming a valid file entry ... ok test_repack_mode_r (tests.test_zipfile.Bzip2RepackTests.test_repack_mode_r) ... ok test_repack_mode_w (tests.test_zipfile.Bzip2RepackTests.test_repack_mode_w) ... ok test_repack_mode_x (tests.test_zipfile.Bzip2RepackTests.test_repack_mode_x) ... ok test_repack_overlapping_blocks (tests.test_zipfile.Bzip2RepackTests.test_repack_overlapping_blocks) ... ok test_repack_prepended_bytes (tests.test_zipfile.Bzip2RepackTests.test_repack_prepended_bytes) ... ok test_repack_propagation (tests.test_zipfile.Bzip2RepackTests.test_repack_propagation) Should call internal API with adequate parameters. ... ok test_repack_removed_bad_header_offset (tests.test_zipfile.Bzip2RepackTests.test_repack_removed_bad_header_offset) Should raise when provided ZipInfo objects has differing header offset. ... ok test_repack_removed_bad_header_offset2 (tests.test_zipfile.Bzip2RepackTests.test_repack_removed_bad_header_offset2) Should raise when provided ZipInfo objects has differing header offset. ... ok test_repack_removed_bad_non_removed (tests.test_zipfile.Bzip2RepackTests.test_repack_removed_bad_non_removed) Should raise when provided ZipInfo objects are not removed. ... ok test_repack_removed_basic (tests.test_zipfile.Bzip2RepackTests.test_repack_removed_basic) Should remove local file entries for provided deleted files. ... ok test_repack_removed_bytes_between_files (tests.test_zipfile.Bzip2RepackTests.test_repack_removed_bytes_between_files) Should not remove bytes between local file entries. ... ok test_repack_removed_partial (tests.test_zipfile.Bzip2RepackTests.test_repack_removed_partial) Should remove local file entries only for provided deleted files. ... ok test_repack_removed_prepended_bytes (tests.test_zipfile.Bzip2RepackTests.test_repack_removed_prepended_bytes) ... ok test_repack_scan_unsigned_data_descriptor (tests.test_zipfile.Bzip2RepackTests.test_repack_scan_unsigned_data_descriptor) By default (strict_descriptor=True) the scan does not reclaim an ... ok test_repack_writing (tests.test_zipfile.Bzip2RepackTests.test_repack_writing) ... ok test_copy_by_name (tests.test_zipfile.DeflateCopyTests.test_copy_by_name) ... ok test_copy_by_zinfo (tests.test_zipfile.DeflateCopyTests.test_copy_by_zinfo) ... ok test_copy_closed (tests.test_zipfile.DeflateCopyTests.test_copy_closed) ... ok test_copy_data_descriptor (tests.test_zipfile.DeflateCopyTests.test_copy_data_descriptor) ... ok test_copy_mode_w (tests.test_zipfile.DeflateCopyTests.test_copy_mode_w) ... ok test_copy_mode_x (tests.test_zipfile.DeflateCopyTests.test_copy_mode_x) ... ok test_copy_target_exist (tests.test_zipfile.DeflateCopyTests.test_copy_target_exist) ... ok test_copy_unseekble (tests.test_zipfile.DeflateCopyTests.test_copy_unseekble) ... ok test_copy_writing (tests.test_zipfile.DeflateCopyTests.test_copy_writing) ... ok test_copy_zip64 (tests.test_zipfile.DeflateCopyTests.test_copy_zip64) ... ok test_remove_by_name (tests.test_zipfile.DeflateRemoveTests.test_remove_by_name) ... ok test_remove_by_name_duplicated (tests.test_zipfile.DeflateRemoveTests.test_remove_by_name_duplicated) ... ok test_remove_by_name_nonexist (tests.test_zipfile.DeflateRemoveTests.test_remove_by_name_nonexist) ... ok test_remove_by_zinfo (tests.test_zipfile.DeflateRemoveTests.test_remove_by_zinfo) ... ok test_remove_by_zinfo_duplicated (tests.test_zipfile.DeflateRemoveTests.test_remove_by_zinfo_duplicated) ... ok test_remove_by_zinfo_nonexist (tests.test_zipfile.DeflateRemoveTests.test_remove_by_zinfo_nonexist) ... ok test_remove_closed (tests.test_zipfile.DeflateRemoveTests.test_remove_closed) ... ok test_remove_mode_r (tests.test_zipfile.DeflateRemoveTests.test_remove_mode_r) ... ok test_remove_mode_w (tests.test_zipfile.DeflateRemoveTests.test_remove_mode_w) ... ok test_remove_mode_x (tests.test_zipfile.DeflateRemoveTests.test_remove_mode_x) ... ok test_remove_writing (tests.test_zipfile.DeflateRemoveTests.test_remove_writing) ... ok test_remove_zip64 (tests.test_zipfile.DeflateRemoveTests.test_remove_zip64) ... ok test_repack_basic (tests.test_zipfile.DeflateRepackTests.test_repack_basic) Should remove local file entries for deleted files. ... ok test_repack_bytes_after_removed_files (tests.test_zipfile.DeflateRepackTests.test_repack_bytes_after_removed_files) Should keep extra bytes if there are bytes after stale local file entries. ... ok test_repack_bytes_before_first_file (tests.test_zipfile.DeflateRepackTests.test_repack_bytes_before_first_file) Should preserve random bytes before the first recorded local file entry. ... ok test_repack_bytes_before_removed_files (tests.test_zipfile.DeflateRepackTests.test_repack_bytes_before_removed_files) Should preserve if there are bytes before stale local file entries. ... ok test_repack_bytes_between_removed_files (tests.test_zipfile.DeflateRepackTests.test_repack_bytes_between_removed_files) Should strip only local file entries before random bytes. ... ok test_repack_closed (tests.test_zipfile.DeflateRepackTests.test_repack_closed) ... ok test_repack_file_entry_before_first_file (tests.test_zipfile.DeflateRepackTests.test_repack_file_entry_before_first_file) Should preserve seemingly valid file entries not forming consecutive ... ok test_repack_magic_before_first_file (tests.test_zipfile.DeflateRepackTests.test_repack_magic_before_first_file) Should preserve random signature bytes not forming a valid file entry ... ok test_repack_mode_r (tests.test_zipfile.DeflateRepackTests.test_repack_mode_r) ... ok test_repack_mode_w (tests.test_zipfile.DeflateRepackTests.test_repack_mode_w) ... ok test_repack_mode_x (tests.test_zipfile.DeflateRepackTests.test_repack_mode_x) ... ok test_repack_overlapping_blocks (tests.test_zipfile.DeflateRepackTests.test_repack_overlapping_blocks) ... ok test_repack_prepended_bytes (tests.test_zipfile.DeflateRepackTests.test_repack_prepended_bytes) ... ok test_repack_propagation (tests.test_zipfile.DeflateRepackTests.test_repack_propagation) Should call internal API with adequate parameters. ... ok test_repack_removed_bad_header_offset (tests.test_zipfile.DeflateRepackTests.test_repack_removed_bad_header_offset) Should raise when provided ZipInfo objects has differing header offset. ... ok test_repack_removed_bad_header_offset2 (tests.test_zipfile.DeflateRepackTests.test_repack_removed_bad_header_offset2) Should raise when provided ZipInfo objects has differing header offset. ... ok test_repack_removed_bad_non_removed (tests.test_zipfile.DeflateRepackTests.test_repack_removed_bad_non_removed) Should raise when provided ZipInfo objects are not removed. ... ok test_repack_removed_basic (tests.test_zipfile.DeflateRepackTests.test_repack_removed_basic) Should remove local file entries for provided deleted files. ... ok test_repack_removed_bytes_between_files (tests.test_zipfile.DeflateRepackTests.test_repack_removed_bytes_between_files) Should not remove bytes between local file entries. ... ok test_repack_removed_partial (tests.test_zipfile.DeflateRepackTests.test_repack_removed_partial) Should remove local file entries only for provided deleted files. ... ok test_repack_removed_prepended_bytes (tests.test_zipfile.DeflateRepackTests.test_repack_removed_prepended_bytes) ... ok test_repack_scan_unsigned_data_descriptor (tests.test_zipfile.DeflateRepackTests.test_repack_scan_unsigned_data_descriptor) By default (strict_descriptor=True) the scan does not reclaim an ... ok test_repack_writing (tests.test_zipfile.DeflateRepackTests.test_repack_writing) ... ok test_copy_by_name (tests.test_zipfile.LzmaCopyTests.test_copy_by_name) ... ok test_copy_by_zinfo (tests.test_zipfile.LzmaCopyTests.test_copy_by_zinfo) ... ok test_copy_closed (tests.test_zipfile.LzmaCopyTests.test_copy_closed) ... ok test_copy_data_descriptor (tests.test_zipfile.LzmaCopyTests.test_copy_data_descriptor) ... ok test_copy_mode_w (tests.test_zipfile.LzmaCopyTests.test_copy_mode_w) ... ok test_copy_mode_x (tests.test_zipfile.LzmaCopyTests.test_copy_mode_x) ... ok test_copy_target_exist (tests.test_zipfile.LzmaCopyTests.test_copy_target_exist) ... ok test_copy_unseekble (tests.test_zipfile.LzmaCopyTests.test_copy_unseekble) ... ok test_copy_writing (tests.test_zipfile.LzmaCopyTests.test_copy_writing) ... ok test_copy_zip64 (tests.test_zipfile.LzmaCopyTests.test_copy_zip64) ... ok test_remove_by_name (tests.test_zipfile.LzmaRemoveTests.test_remove_by_name) ... ok test_remove_by_name_duplicated (tests.test_zipfile.LzmaRemoveTests.test_remove_by_name_duplicated) ... ok test_remove_by_name_nonexist (tests.test_zipfile.LzmaRemoveTests.test_remove_by_name_nonexist) ... ok test_remove_by_zinfo (tests.test_zipfile.LzmaRemoveTests.test_remove_by_zinfo) ... ok test_remove_by_zinfo_duplicated (tests.test_zipfile.LzmaRemoveTests.test_remove_by_zinfo_duplicated) ... ok test_remove_by_zinfo_nonexist (tests.test_zipfile.LzmaRemoveTests.test_remove_by_zinfo_nonexist) ... ok test_remove_closed (tests.test_zipfile.LzmaRemoveTests.test_remove_closed) ... ok test_remove_mode_r (tests.test_zipfile.LzmaRemoveTests.test_remove_mode_r) ... ok test_remove_mode_w (tests.test_zipfile.LzmaRemoveTests.test_remove_mode_w) ... ok test_remove_mode_x (tests.test_zipfile.LzmaRemoveTests.test_remove_mode_x) ... ok test_remove_writing (tests.test_zipfile.LzmaRemoveTests.test_remove_writing) ... ok test_remove_zip64 (tests.test_zipfile.LzmaRemoveTests.test_remove_zip64) ... ok test_repack_basic (tests.test_zipfile.LzmaRepackTests.test_repack_basic) Should remove local file entries for deleted files. ... ok test_repack_bytes_after_removed_files (tests.test_zipfile.LzmaRepackTests.test_repack_bytes_after_removed_files) Should keep extra bytes if there are bytes after stale local file entries. ... ok test_repack_bytes_before_first_file (tests.test_zipfile.LzmaRepackTests.test_repack_bytes_before_first_file) Should preserve random bytes before the first recorded local file entry. ... ok test_repack_bytes_before_removed_files (tests.test_zipfile.LzmaRepackTests.test_repack_bytes_before_removed_files) Should preserve if there are bytes before stale local file entries. ... ok test_repack_bytes_between_removed_files (tests.test_zipfile.LzmaRepackTests.test_repack_bytes_between_removed_files) Should strip only local file entries before random bytes. ... ok test_repack_closed (tests.test_zipfile.LzmaRepackTests.test_repack_closed) ... ok test_repack_file_entry_before_first_file (tests.test_zipfile.LzmaRepackTests.test_repack_file_entry_before_first_file) Should preserve seemingly valid file entries not forming consecutive ... ok test_repack_magic_before_first_file (tests.test_zipfile.LzmaRepackTests.test_repack_magic_before_first_file) Should preserve random signature bytes not forming a valid file entry ... ok test_repack_mode_r (tests.test_zipfile.LzmaRepackTests.test_repack_mode_r) ... ok test_repack_mode_w (tests.test_zipfile.LzmaRepackTests.test_repack_mode_w) ... ok test_repack_mode_x (tests.test_zipfile.LzmaRepackTests.test_repack_mode_x) ... ok test_repack_overlapping_blocks (tests.test_zipfile.LzmaRepackTests.test_repack_overlapping_blocks) ... ok test_repack_prepended_bytes (tests.test_zipfile.LzmaRepackTests.test_repack_prepended_bytes) ... ok test_repack_propagation (tests.test_zipfile.LzmaRepackTests.test_repack_propagation) Should call internal API with adequate parameters. ... ok test_repack_removed_bad_header_offset (tests.test_zipfile.LzmaRepackTests.test_repack_removed_bad_header_offset) Should raise when provided ZipInfo objects has differing header offset. ... ok test_repack_removed_bad_header_offset2 (tests.test_zipfile.LzmaRepackTests.test_repack_removed_bad_header_offset2) Should raise when provided ZipInfo objects has differing header offset. ... ok test_repack_removed_bad_non_removed (tests.test_zipfile.LzmaRepackTests.test_repack_removed_bad_non_removed) Should raise when provided ZipInfo objects are not removed. ... ok test_repack_removed_basic (tests.test_zipfile.LzmaRepackTests.test_repack_removed_basic) Should remove local file entries for provided deleted files. ... ok test_repack_removed_bytes_between_files (tests.test_zipfile.LzmaRepackTests.test_repack_removed_bytes_between_files) Should not remove bytes between local file entries. ... ok test_repack_removed_partial (tests.test_zipfile.LzmaRepackTests.test_repack_removed_partial) Should remove local file entries only for provided deleted files. ... ok test_repack_removed_prepended_bytes (tests.test_zipfile.LzmaRepackTests.test_repack_removed_prepended_bytes) ... ok test_repack_scan_unsigned_data_descriptor (tests.test_zipfile.LzmaRepackTests.test_repack_scan_unsigned_data_descriptor) By default (strict_descriptor=True) the scan does not reclaim an ... ok test_repack_writing (tests.test_zipfile.LzmaRepackTests.test_repack_writing) ... ok test_full_overlap_different_names (tests.test_zipfile.OtherRepackTests.test_full_overlap_different_names) ... ok test_overlap_with_archive_comment (tests.test_zipfile.OtherRepackTests.test_overlap_with_archive_comment) ... ok test_overlap_with_central_dir (tests.test_zipfile.OtherRepackTests.test_overlap_with_central_dir) ... ok test_partial_overlap_at_dd (tests.test_zipfile.OtherRepackTests.test_partial_overlap_at_dd) ... ok test_quoted_overlap (tests.test_zipfile.OtherRepackTests.test_quoted_overlap) ... ok test_copy_by_name (tests.test_zipfile.StoredCopyTests.test_copy_by_name) ... ok test_copy_by_zinfo (tests.test_zipfile.StoredCopyTests.test_copy_by_zinfo) ... ok test_copy_closed (tests.test_zipfile.StoredCopyTests.test_copy_closed) ... ok test_copy_data_descriptor (tests.test_zipfile.StoredCopyTests.test_copy_data_descriptor) ... ok test_copy_mode_w (tests.test_zipfile.StoredCopyTests.test_copy_mode_w) ... ok test_copy_mode_x (tests.test_zipfile.StoredCopyTests.test_copy_mode_x) ... ok test_copy_target_exist (tests.test_zipfile.StoredCopyTests.test_copy_target_exist) ... ok test_copy_unseekble (tests.test_zipfile.StoredCopyTests.test_copy_unseekble) ... ok test_copy_writing (tests.test_zipfile.StoredCopyTests.test_copy_writing) ... ok test_copy_zip64 (tests.test_zipfile.StoredCopyTests.test_copy_zip64) ... ok test_remove_by_name (tests.test_zipfile.StoredRemoveTests.test_remove_by_name) ... ok test_remove_by_name_duplicated (tests.test_zipfile.StoredRemoveTests.test_remove_by_name_duplicated) ... ok test_remove_by_name_nonexist (tests.test_zipfile.StoredRemoveTests.test_remove_by_name_nonexist) ... ok test_remove_by_zinfo (tests.test_zipfile.StoredRemoveTests.test_remove_by_zinfo) ... ok test_remove_by_zinfo_duplicated (tests.test_zipfile.StoredRemoveTests.test_remove_by_zinfo_duplicated) ... ok test_remove_by_zinfo_nonexist (tests.test_zipfile.StoredRemoveTests.test_remove_by_zinfo_nonexist) ... ok test_remove_closed (tests.test_zipfile.StoredRemoveTests.test_remove_closed) ... ok test_remove_mode_r (tests.test_zipfile.StoredRemoveTests.test_remove_mode_r) ... ok test_remove_mode_w (tests.test_zipfile.StoredRemoveTests.test_remove_mode_w) ... ok test_remove_mode_x (tests.test_zipfile.StoredRemoveTests.test_remove_mode_x) ... ok test_remove_writing (tests.test_zipfile.StoredRemoveTests.test_remove_writing) ... ok test_remove_zip64 (tests.test_zipfile.StoredRemoveTests.test_remove_zip64) ... ok test_repack_basic (tests.test_zipfile.StoredRepackTests.test_repack_basic) Should remove local file entries for deleted files. ... ok test_repack_bytes_after_removed_files (tests.test_zipfile.StoredRepackTests.test_repack_bytes_after_removed_files) Should keep extra bytes if there are bytes after stale local file entries. ... ok test_repack_bytes_before_first_file (tests.test_zipfile.StoredRepackTests.test_repack_bytes_before_first_file) Should preserve random bytes before the first recorded local file entry. ... ok test_repack_bytes_before_removed_files (tests.test_zipfile.StoredRepackTests.test_repack_bytes_before_removed_files) Should preserve if there are bytes before stale local file entries. ... ok test_repack_bytes_between_removed_files (tests.test_zipfile.StoredRepackTests.test_repack_bytes_between_removed_files) Should strip only local file entries before random bytes. ... ok test_repack_closed (tests.test_zipfile.StoredRepackTests.test_repack_closed) ... ok test_repack_file_entry_before_first_file (tests.test_zipfile.StoredRepackTests.test_repack_file_entry_before_first_file) Should preserve seemingly valid file entries not forming consecutive ... ok test_repack_magic_before_first_file (tests.test_zipfile.StoredRepackTests.test_repack_magic_before_first_file) Should preserve random signature bytes not forming a valid file entry ... ok test_repack_mode_r (tests.test_zipfile.StoredRepackTests.test_repack_mode_r) ... ok test_repack_mode_w (tests.test_zipfile.StoredRepackTests.test_repack_mode_w) ... ok test_repack_mode_x (tests.test_zipfile.StoredRepackTests.test_repack_mode_x) ... ok test_repack_overlapping_blocks (tests.test_zipfile.StoredRepackTests.test_repack_overlapping_blocks) ... ok test_repack_prepended_bytes (tests.test_zipfile.StoredRepackTests.test_repack_prepended_bytes) ... ok test_repack_propagation (tests.test_zipfile.StoredRepackTests.test_repack_propagation) Should call internal API with adequate parameters. ... ok test_repack_removed_bad_header_offset (tests.test_zipfile.StoredRepackTests.test_repack_removed_bad_header_offset) Should raise when provided ZipInfo objects has differing header offset. ... ok test_repack_removed_bad_header_offset2 (tests.test_zipfile.StoredRepackTests.test_repack_removed_bad_header_offset2) Should raise when provided ZipInfo objects has differing header offset. ... ok test_repack_removed_bad_non_removed (tests.test_zipfile.StoredRepackTests.test_repack_removed_bad_non_removed) Should raise when provided ZipInfo objects are not removed. ... ok test_repack_removed_basic (tests.test_zipfile.StoredRepackTests.test_repack_removed_basic) Should remove local file entries for provided deleted files. ... ok test_repack_removed_bytes_between_files (tests.test_zipfile.StoredRepackTests.test_repack_removed_bytes_between_files) Should not remove bytes between local file entries. ... ok test_repack_removed_partial (tests.test_zipfile.StoredRepackTests.test_repack_removed_partial) Should remove local file entries only for provided deleted files. ... ok test_repack_removed_prepended_bytes (tests.test_zipfile.StoredRepackTests.test_repack_removed_prepended_bytes) ... ok test_repack_scan_unsigned_data_descriptor (tests.test_zipfile.StoredRepackTests.test_repack_scan_unsigned_data_descriptor) By default (strict_descriptor=True) the scan does not reclaim an ... ok test_repack_writing (tests.test_zipfile.StoredRepackTests.test_repack_writing) ... ok test_calc_local_file_entry_size (tests.test_zipfile.ZipRepackerTests.test_calc_local_file_entry_size) ... ok test_calc_local_file_entry_size_zip64 (tests.test_zipfile.ZipRepackerTests.test_calc_local_file_entry_size_zip64) ... ok test_copy_bytes (tests.test_zipfile.ZipRepackerTests.test_copy_bytes) ... ok test_copy_bytes_short_read (tests.test_zipfile.ZipRepackerTests.test_copy_bytes_short_read) Raise rather than loop forever if EOF is hit before size bytes. ... ok test_iter_scan_signature (tests.test_zipfile.ZipRepackerTests.test_iter_scan_signature) ... ok test_scan_data_descriptor (tests.test_zipfile.ZipRepackerTests.test_scan_data_descriptor) ... ok test_scan_data_descriptor_no_sig (tests.test_zipfile.ZipRepackerTests.test_scan_data_descriptor_no_sig) ... ok test_scan_data_descriptor_no_sig_by_decompression_bz2 (tests.test_zipfile.ZipRepackerTests.test_scan_data_descriptor_no_sig_by_decompression_bz2) ... ok test_scan_data_descriptor_no_sig_by_decompression_lzma (tests.test_zipfile.ZipRepackerTests.test_scan_data_descriptor_no_sig_by_decompression_lzma) ... ok test_scan_data_descriptor_no_sig_by_decompression_stored (tests.test_zipfile.ZipRepackerTests.test_scan_data_descriptor_no_sig_by_decompression_stored) ... ok test_scan_data_descriptor_no_sig_by_decompression_unknown (tests.test_zipfile.ZipRepackerTests.test_scan_data_descriptor_no_sig_by_decompression_unknown) ... ok test_scan_data_descriptor_no_sig_by_decompression_zlib (tests.test_zipfile.ZipRepackerTests.test_scan_data_descriptor_no_sig_by_decompression_zlib) ... ok test_scan_data_descriptor_no_sig_by_decompression_zstd (tests.test_zipfile.ZipRepackerTests.test_scan_data_descriptor_no_sig_by_decompression_zstd) ... ok test_trace_compressed_block_end_bz2 (tests.test_zipfile.ZipRepackerTests.test_trace_compressed_block_end_bz2) ... ok test_trace_compressed_block_end_lzma (tests.test_zipfile.ZipRepackerTests.test_trace_compressed_block_end_lzma) ... ok test_trace_compressed_block_end_zlib (tests.test_zipfile.ZipRepackerTests.test_trace_compressed_block_end_zlib) ... ok test_trace_compressed_block_end_zstd (tests.test_zipfile.ZipRepackerTests.test_trace_compressed_block_end_zstd) ... ok test_validate_local_file_entry_bz2 (tests.test_zipfile.ZipRepackerTests.test_validate_local_file_entry_bz2) ... ok test_validate_local_file_entry_encrypted (tests.test_zipfile.ZipRepackerTests.test_validate_local_file_entry_encrypted) ... ok test_validate_local_file_entry_lzma (tests.test_zipfile.ZipRepackerTests.test_validate_local_file_entry_lzma) ... ok test_validate_local_file_entry_overshoot (tests.test_zipfile.ZipRepackerTests.test_validate_local_file_entry_overshoot) A header whose compress_size points past end_offset is rejected. ... ok test_validate_local_file_entry_stored (tests.test_zipfile.ZipRepackerTests.test_validate_local_file_entry_stored) ... ok test_validate_local_file_entry_zip64_bz2 (tests.test_zipfile.ZipRepackerTests.test_validate_local_file_entry_zip64_bz2) ... ok test_validate_local_file_entry_zip64_lzma (tests.test_zipfile.ZipRepackerTests.test_validate_local_file_entry_zip64_lzma) ... ok test_validate_local_file_entry_zip64_stored (tests.test_zipfile.ZipRepackerTests.test_validate_local_file_entry_zip64_stored) ... ok test_validate_local_file_entry_zip64_zlib (tests.test_zipfile.ZipRepackerTests.test_validate_local_file_entry_zip64_zlib) ... ok test_validate_local_file_entry_zip64_zstd (tests.test_zipfile.ZipRepackerTests.test_validate_local_file_entry_zip64_zstd) ... ok test_validate_local_file_entry_zlib (tests.test_zipfile.ZipRepackerTests.test_validate_local_file_entry_zlib) ... ok test_validate_local_file_entry_zstd (tests.test_zipfile.ZipRepackerTests.test_validate_local_file_entry_zstd) ... ok test_copy_by_name (tests.test_zipfile.ZstdCopyTests.test_copy_by_name) ... ok test_copy_by_zinfo (tests.test_zipfile.ZstdCopyTests.test_copy_by_zinfo) ... ok test_copy_closed (tests.test_zipfile.ZstdCopyTests.test_copy_closed) ... ok test_copy_data_descriptor (tests.test_zipfile.ZstdCopyTests.test_copy_data_descriptor) ... ok test_copy_mode_w (tests.test_zipfile.ZstdCopyTests.test_copy_mode_w) ... ok test_copy_mode_x (tests.test_zipfile.ZstdCopyTests.test_copy_mode_x) ... ok test_copy_target_exist (tests.test_zipfile.ZstdCopyTests.test_copy_target_exist) ... ok test_copy_unseekble (tests.test_zipfile.ZstdCopyTests.test_copy_unseekble) ... ok test_copy_writing (tests.test_zipfile.ZstdCopyTests.test_copy_writing) ... ok test_copy_zip64 (tests.test_zipfile.ZstdCopyTests.test_copy_zip64) ... ok test_remove_by_name (tests.test_zipfile.ZstdRemoveTests.test_remove_by_name) ... ok test_remove_by_name_duplicated (tests.test_zipfile.ZstdRemoveTests.test_remove_by_name_duplicated) ... ok test_remove_by_name_nonexist (tests.test_zipfile.ZstdRemoveTests.test_remove_by_name_nonexist) ... ok test_remove_by_zinfo (tests.test_zipfile.ZstdRemoveTests.test_remove_by_zinfo) ... ok test_remove_by_zinfo_duplicated (tests.test_zipfile.ZstdRemoveTests.test_remove_by_zinfo_duplicated) ... ok test_remove_by_zinfo_nonexist (tests.test_zipfile.ZstdRemoveTests.test_remove_by_zinfo_nonexist) ... ok test_remove_closed (tests.test_zipfile.ZstdRemoveTests.test_remove_closed) ... ok test_remove_mode_r (tests.test_zipfile.ZstdRemoveTests.test_remove_mode_r) ... ok test_remove_mode_w (tests.test_zipfile.ZstdRemoveTests.test_remove_mode_w) ... ok test_remove_mode_x (tests.test_zipfile.ZstdRemoveTests.test_remove_mode_x) ... ok test_remove_writing (tests.test_zipfile.ZstdRemoveTests.test_remove_writing) ... ok test_remove_zip64 (tests.test_zipfile.ZstdRemoveTests.test_remove_zip64) ... ok test_repack_basic (tests.test_zipfile.ZstdRepackTests.test_repack_basic) Should remove local file entries for deleted files. ... ok test_repack_bytes_after_removed_files (tests.test_zipfile.ZstdRepackTests.test_repack_bytes_after_removed_files) Should keep extra bytes if there are bytes after stale local file entries. ... ok test_repack_bytes_before_first_file (tests.test_zipfile.ZstdRepackTests.test_repack_bytes_before_first_file) Should preserve random bytes before the first recorded local file entry. ... ok test_repack_bytes_before_removed_files (tests.test_zipfile.ZstdRepackTests.test_repack_bytes_before_removed_files) Should preserve if there are bytes before stale local file entries. ... ok test_repack_bytes_between_removed_files (tests.test_zipfile.ZstdRepackTests.test_repack_bytes_between_removed_files) Should strip only local file entries before random bytes. ... ok test_repack_closed (tests.test_zipfile.ZstdRepackTests.test_repack_closed) ... ok test_repack_file_entry_before_first_file (tests.test_zipfile.ZstdRepackTests.test_repack_file_entry_before_first_file) Should preserve seemingly valid file entries not forming consecutive ... ok test_repack_magic_before_first_file (tests.test_zipfile.ZstdRepackTests.test_repack_magic_before_first_file) Should preserve random signature bytes not forming a valid file entry ... ok test_repack_mode_r (tests.test_zipfile.ZstdRepackTests.test_repack_mode_r) ... ok test_repack_mode_w (tests.test_zipfile.ZstdRepackTests.test_repack_mode_w) ... ok test_repack_mode_x (tests.test_zipfile.ZstdRepackTests.test_repack_mode_x) ... ok test_repack_overlapping_blocks (tests.test_zipfile.ZstdRepackTests.test_repack_overlapping_blocks) ... ok test_repack_prepended_bytes (tests.test_zipfile.ZstdRepackTests.test_repack_prepended_bytes) ... ok test_repack_propagation (tests.test_zipfile.ZstdRepackTests.test_repack_propagation) Should call internal API with adequate parameters. ... ok test_repack_removed_bad_header_offset (tests.test_zipfile.ZstdRepackTests.test_repack_removed_bad_header_offset) Should raise when provided ZipInfo objects has differing header offset. ... ok test_repack_removed_bad_header_offset2 (tests.test_zipfile.ZstdRepackTests.test_repack_removed_bad_header_offset2) Should raise when provided ZipInfo objects has differing header offset. ... ok test_repack_removed_bad_non_removed (tests.test_zipfile.ZstdRepackTests.test_repack_removed_bad_non_removed) Should raise when provided ZipInfo objects are not removed. ... ok test_repack_removed_basic (tests.test_zipfile.ZstdRepackTests.test_repack_removed_basic) Should remove local file entries for provided deleted files. ... ok test_repack_removed_bytes_between_files (tests.test_zipfile.ZstdRepackTests.test_repack_removed_bytes_between_files) Should not remove bytes between local file entries. ... ok test_repack_removed_partial (tests.test_zipfile.ZstdRepackTests.test_repack_removed_partial) Should remove local file entries only for provided deleted files. ... ok test_repack_removed_prepended_bytes (tests.test_zipfile.ZstdRepackTests.test_repack_removed_prepended_bytes) ... ok test_repack_scan_unsigned_data_descriptor (tests.test_zipfile.ZstdRepackTests.test_repack_scan_unsigned_data_descriptor) By default (strict_descriptor=True) the scan does not reclaim an ... ok test_repack_writing (tests.test_zipfile.ZstdRepackTests.test_repack_writing) ... ok setUpModule (tests.test_zipfile64) ... skipped "requires resource 'extralargefile' in envvar TEST_RESOURCES" ---------------------------------------------------------------------- Ran 259 tests OK (skipped=1) py$(PYV): OK congratulations :)