[pypy-commit] pypy py3.5: do not use BaseImportTest as baseclass for zipimport tests (this class was removed)

plan_rich pypy.commits at gmail.com
Mon Jan 9 09:34:07 EST 2017


Author: Richard Plangger <planrichi at gmail.com>
Branch: py3.5
Changeset: r89441:21a8a2cfa452
Date: 2017-01-09 15:33 +0100
http://bitbucket.org/pypy/pypy/changeset/21a8a2cfa452/

Log:	do not use BaseImportTest as baseclass for zipimport tests (this
	class was removed)

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
@@ -4,11 +4,10 @@
 import time
 from zipfile import ZIP_STORED
 
-from pypy.module.imp.test.support import BaseImportTest
 from rpython.tool.udir import udir
 
 
-class AppTestZipimport(BaseImportTest):
+class AppTestZipimport:
     """ A bit structurized tests stolen and adapted from
     cpy's regression tests
     """
@@ -20,7 +19,6 @@
 
     @classmethod
     def make_class(cls):
-        BaseImportTest.setup_class.im_func(cls)
         space = cls.space
         w = space.wrap
 


More information about the pypy-commit mailing list