[pypy-commit] pypy py3k: kill the deflated test, it's been duplicated in test_zipimport_deflated

pjenvey noreply at buildbot.pypy.org
Sun Apr 28 03:41:17 CEST 2013


Author: Philip Jenvey <pjenvey at underboss.org>
Branch: py3k
Changeset: r63712:5006546b372b
Date: 2013-04-27 18:40 -0700
http://bitbucket.org/pypy/pypy/changeset/5006546b372b/

Log:	kill the deflated test, it's been duplicated in
	test_zipimport_deflated

diff --git a/pypy/module/zipimport/test/test_zipimport.py b/pypy/module/zipimport/test/test_zipimport.py
--- a/pypy/module/zipimport/test/test_zipimport.py
+++ b/pypy/module/zipimport/test/test_zipimport.py
@@ -378,20 +378,6 @@
             os.remove(filename)
 
 
-class AppTestZipimportDeflated(AppTestZipimport):
-    compression = ZIP_DEFLATED
-    spaceconfig = {
-        "usemodules": ['zipimport', 'zlib', 'rctime', 'struct', 'binascii'],
-    }
-
-    def setup_class(cls):
-        try:
-            import rpython.rlib.rzlib
-        except ImportError:
-            py.test.skip("zlib not available, cannot test compressed zipfiles")
-        cls.make_class()
-
-
 if os.sep != '/':
     class AppTestNativePathSep(AppTestZipimport):
         pathsep = os.sep


More information about the pypy-commit mailing list