]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
When zlib can't be imported, zipfile raises RuntimeError, which causes
authorGuido van Rossum <guido@python.org>
Tue, 10 Apr 2001 14:46:39 +0000 (14:46 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 10 Apr 2001 14:46:39 +0000 (14:46 +0000)
commitbfce016a30da85c4a637ab4825e429da482a80c0
tree9f7c4a1f2d1b41ac4a3659039948e2de6f59c9fb
parent41763b96039e2270a9b9d01702215e4642343134
When zlib can't be imported, zipfile raises RuntimeError, which causes
the test to be marked as failing rather than skipped.  Add an explicit
"import zlib" to prevent this.
Lib/test/test_zipfile.py