diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2009-09-12 14:43:43 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2009-09-12 14:43:43 (GMT) |
commit | 1036a7f7e180ac3fd98e43832a04e38b4c7c9e83 (patch) | |
tree | eab29c294a6bbc075d44281c91d7ae433f3c96d0 /Lib/test/test_gzip.py | |
parent | 21121e64b4245e51b85b9d2bc9b29acb86ae79eb (diff) | |
download | cpython-1036a7f7e180ac3fd98e43832a04e38b4c7c9e83.zip cpython-1036a7f7e180ac3fd98e43832a04e38b4c7c9e83.tar.gz cpython-1036a7f7e180ac3fd98e43832a04e38b4c7c9e83.tar.bz2 |
#6026 - fix tests that failed without zlib
Diffstat (limited to 'Lib/test/test_gzip.py')
-rw-r--r-- | Lib/test/test_gzip.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_gzip.py b/Lib/test/test_gzip.py index 8ae31b2..13b0e57 100644 --- a/Lib/test/test_gzip.py +++ b/Lib/test/test_gzip.py @@ -5,9 +5,8 @@ import unittest from test import test_support import os -import gzip import struct - +gzip = test_support.import_module('gzip') data1 = """ int length=DEFAULTALLOC, err = Z_OK; PyObject *RetVal; |