mirror of https://github.com/python/cpython
Skip test that requires zlib when zlib is not available.
This commit is contained in:
parent
42d0f68458
commit
d9a7c4b8e5
|
@ -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…
Reference in New Issue