[pypy-commit] pypy numpy-dtype-refactor: bit of cleanup

alex_gaynor noreply at buildbot.pypy.org
Thu Nov 17 23:50:23 CET 2011


Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: numpy-dtype-refactor
Changeset: r49504:d779e7a20055
Date: 2011-11-17 17:50 -0500
http://bitbucket.org/pypy/pypy/changeset/d779e7a20055/

Log:	bit of cleanup

diff --git a/pypy/module/micronumpy/test/test_numarray.py b/pypy/module/micronumpy/test/test_numarray.py
--- a/pypy/module/micronumpy/test/test_numarray.py
+++ b/pypy/module/micronumpy/test/test_numarray.py
@@ -609,10 +609,10 @@
                 assert c[i] == func(b[i], 3)
 
 
-class AppTestSupport(object):
+class AppTestSupport(BaseNumpyAppTest):
     def setup_class(cls):
         import struct
-        cls.space = gettestobjspace(usemodules=('micronumpy',))
+        BaseNumpyAppTest.setup_class.im_func(cls)
         cls.w_data = cls.space.wrap(struct.pack('dddd', 1, 2, 3, 4))
 
     def test_fromstring(self):


More information about the pypy-commit mailing list