Author: Alex Gaynor <[email protected]>
Branch: numpy-exp
Changeset: r44222:da45680ce11b
Date: 2011-05-16 16:34 -0500
http://bitbucket.org/pypy/pypy/changeset/da45680ce11b/

Log:    Use py.test magic.

diff --git a/pypy/module/micronumpy/test/test_base.py 
b/pypy/module/micronumpy/test/test_base.py
--- a/pypy/module/micronumpy/test/test_base.py
+++ b/pypy/module/micronumpy/test/test_base.py
@@ -8,12 +8,7 @@
 
 
 class TestSignature(object):
-    def setup_class(cls):
-        cls.space = gettestobjspace()
-
-    def test_binop_signature(self):
-        space = self.space
-
+    def test_binop_signature(self, space):
         ar = SingleDimArray(10)
         v1 = ar.descr_add(space, ar)
         v2 = ar.descr_add(space, FloatWrapper(2.0))
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to