Kaydet (Commit) bfce016a authored tarafından Guido van Rossum's avatar Guido van Rossum

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.
üst 41763b96
import zlib # implied prerequisite
import zipfile, os, StringIO, tempfile
from test_support import TestFailed
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment