Author: Timo Paulssen <[email protected]>
Branch: separate-applevel-numpy
Changeset: r47582:ba1f49c28b45
Date: 2011-09-24 20:00 +0200
http://bitbucket.org/pypy/pypy/changeset/ba1f49c28b45/

Log:    test_numpy.py gets its own NumpyAppTest base class.

diff --git a/lib_pypy/pypy_test/test_numpy.py b/lib_pypy/pypy_test/test_numpy.py
--- a/lib_pypy/pypy_test/test_numpy.py
+++ b/lib_pypy/pypy_test/test_numpy.py
@@ -1,7 +1,9 @@
-from pypy.module._numpy.test.test_base import BaseNumpyAppTest
+from pypy.conftest import gettestobjspace
 
+class AppTestNumPyModule:
+    def setup_class(cls):
+        cls.space = gettestobjspace(usemodules=['_numpy'])
 
-class AppTestNumPyModule(BaseNumpyAppTest):
     def test_mean(self):
         from numpy import array, mean
         assert mean(array(range(5))) == 2.0
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to