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.
Showing
Please
register
or
sign in
to comment
the test to be marked as failing rather than skipped. Add an explicit "import zlib" to prevent this.