Kaydet (Commit) ae323198 authored tarafından Neal Norwitz's avatar Neal Norwitz

Get test working if gzip support is not available

üst 874e1f7e
...@@ -10,7 +10,8 @@ from test import test_support ...@@ -10,7 +10,8 @@ from test import test_support
# Check for our compression modules. # Check for our compression modules.
try: try:
import gzip import gzip
except ImportError: gzip.GzipFile
except (ImportError, AttributeError):
gzip = None gzip = None
try: try:
import bz2 import bz2
......
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