diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-03-14 16:57:02 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-03-14 16:57:02 (GMT) |
commit | d9a7c4b8e56ddf8be878de284b8a29d4346ec0f8 (patch) | |
tree | e8ef257e2dba21402db90d801321929f637b6f74 /Lib/test/test_zipfile.py | |
parent | 42d0f68458beff65f1efb0281be5e310b1b02381 (diff) | |
download | cpython-d9a7c4b8e56ddf8be878de284b8a29d4346ec0f8.zip cpython-d9a7c4b8e56ddf8be878de284b8a29d4346ec0f8.tar.gz cpython-d9a7c4b8e56ddf8be878de284b8a29d4346ec0f8.tar.bz2 |
Skip test that requires zlib when zlib is not available.
Diffstat (limited to 'Lib/test/test_zipfile.py')
-rw-r--r-- | Lib/test/test_zipfile.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_zipfile.py b/Lib/test/test_zipfile.py index 8d51528..90aab86 100644 --- a/Lib/test/test_zipfile.py +++ b/Lib/test/test_zipfile.py @@ -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') |