We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66363b9 commit dbf8048Copy full SHA for dbf8048
Lib/test/test_zipfile/test_core.py
@@ -2272,6 +2272,7 @@ def test_decompress_without_3rd_party_library(self):
2272
with zipfile.ZipFile(zip_file) as zf:
2273
self.assertRaises(RuntimeError, zf.extract, 'a.txt')
2274
2275
+ @requires_zlib
2276
def test_full_overlap(self):
2277
data = (
2278
b'PK\x03\x04\x14\x00\x00\x00\x08\x00\xa0lH\x05\xe2\x1e'
@@ -2300,6 +2301,7 @@ def test_full_overlap(self):
2300
2301
with self.assertRaisesRegex(zipfile.BadZipFile, 'File name.*differ'):
2302
zipf.read('b')
2303
2304
2305
def test_quoted_overlap(self):
2306
2307
b'PK\x03\x04\x14\x00\x00\x00\x08\x00\xa0lH\x05Y\xfc'
0 commit comments