summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-03-14 16:57:02 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2011-03-14 16:57:02 (GMT)
commitd9a7c4b8e56ddf8be878de284b8a29d4346ec0f8 (patch)
treee8ef257e2dba21402db90d801321929f637b6f74 /Lib
parent42d0f68458beff65f1efb0281be5e310b1b02381 (diff)
downloadcpython-d9a7c4b8e56ddf8be878de284b8a29d4346ec0f8.zip
cpython-d9a7c4b8e56ddf8be878de284b8a29d4346ec0f8.tar.gz
cpython-d9a7c4b8e56ddf8be878de284b8a29d4346ec0f8.tar.bz2
Skip test that requires zlib when zlib is not available.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_zipfile.py1
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')