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.
This commit is contained in:
parent
41763b9603
commit
bfce016a30
|
@ -1,3 +1,4 @@
|
|||
import zlib # implied prerequisite
|
||||
import zipfile, os, StringIO, tempfile
|
||||
from test_support import TestFailed
|
||||
|
||||
|
|
Loading…
Reference in New Issue