mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Skip test if zlib not present. Closes #11498. Patch by Natalia B. Bidart.
This commit is contained in:
parent
4169826a00
commit
91f0359ee4
3 changed files with 3 additions and 1 deletions
|
@ -489,6 +489,7 @@ class TestsWithSourceFile(unittest.TestCase):
|
|||
except zipfile.BadZipFile:
|
||||
self.assertTrue(zipfp2.fp is None, 'zipfp is not closed')
|
||||
|
||||
@skipUnless(zlib, "requires zlib")
|
||||
def test_unicode_filenames(self):
|
||||
# bug #10801
|
||||
fname = findfile('zip_cp437_header.zip')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue