From: Danny Lin Date: Mon, 22 Jun 2026 14:11:24 +0000 (+0800) Subject: gh-151866: Remove unneeded `zlib` dependency in `test_zipfile.test_core` (#135631) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f928475886ee36f0b6d10300a79578d2750590be;p=thirdparty%2FPython%2Fcpython.git gh-151866: Remove unneeded `zlib` dependency in `test_zipfile.test_core` (#135631) Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Stan Ulbrych --- diff --git a/Lib/test/test_zipfile/test_core.py b/Lib/test/test_zipfile/test_core.py index c0f3efaf0921..4f20209927e7 100644 --- a/Lib/test/test_zipfile/test_core.py +++ b/Lib/test/test_zipfile/test_core.py @@ -4089,8 +4089,7 @@ class OtherTests(unittest.TestCase): tag_for_unicode_path = b'\x75\x70' version_of_unicode_path = b'\x01' - import zlib - filename_crc = struct.pack('