diff options
| author | Eric V. Smith <eric@trueblade.com> | 2011-03-14 15:57:16 (GMT) |
|---|---|---|
| committer | Eric V. Smith <eric@trueblade.com> | 2011-03-14 15:57:16 (GMT) |
| commit | 91f0359ee4fc067e4fb6fcdfaa5e8258333e68a9 (patch) | |
| tree | b509c342e831d81103f5509c842323c40b3a4f14 /Lib/test/test_zipfile.py | |
| parent | 4169826a00bc786185cfce9371a3ba15157bf928 (diff) | |
| download | cpython-91f0359ee4fc067e4fb6fcdfaa5e8258333e68a9.zip cpython-91f0359ee4fc067e4fb6fcdfaa5e8258333e68a9.tar.gz cpython-91f0359ee4fc067e4fb6fcdfaa5e8258333e68a9.tar.bz2 | |
Skip test if zlib not present. Closes #11498. Patch by Natalia B. Bidart.
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') |
