Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r53955:f35ca49d1e27
Date: 2012-03-23 18:28 +0100
http://bitbucket.org/pypy/pypy/changeset/f35ca49d1e27/

Log:    skip these numpypy tests for now, the applevel part of numpy has to
        been ported to python3

diff --git a/TODO b/TODO
--- a/TODO
+++ b/TODO
@@ -6,3 +6,5 @@
 dead code because the grammar changed
 
 re-enable IntDictStrategy
+
+unskip numpypy tests in module/test_lib_pypy/numpypy/
diff --git a/pypy/module/test_lib_pypy/numpypy/core/test_fromnumeric.py 
b/pypy/module/test_lib_pypy/numpypy/core/test_fromnumeric.py
--- a/pypy/module/test_lib_pypy/numpypy/core/test_fromnumeric.py
+++ b/pypy/module/test_lib_pypy/numpypy/core/test_fromnumeric.py
@@ -2,6 +2,11 @@
 
 
 class AppTestFromNumeric(BaseNumpyAppTest):
+
+    def setup_class(cls):
+        import py
+        py.test.skip('the applevel parts are not ready for py3k')
+    
     def test_argmax(self):
         # tests taken from numpy/core/fromnumeric.py docstring
         from numpypy import array, arange, argmax
diff --git a/pypy/module/test_lib_pypy/numpypy/core/test_numeric.py 
b/pypy/module/test_lib_pypy/numpypy/core/test_numeric.py
--- a/pypy/module/test_lib_pypy/numpypy/core/test_numeric.py
+++ b/pypy/module/test_lib_pypy/numpypy/core/test_numeric.py
@@ -3,6 +3,11 @@
 
 
 class AppTestBaseRepr(BaseNumpyAppTest):
+
+    def setup_class(cls):
+        import py
+        py.test.skip('the applevel parts are not ready for py3k')
+
     def test_base3(self):
         from numpypy import base_repr
         assert base_repr(3**5, 3) == '100000'
@@ -21,6 +26,11 @@
         assert base_repr(-12, 4) == '-30'
 
 class AppTestRepr(BaseNumpyAppTest):
+
+    def setup_class(cls):
+        import py
+        py.test.skip('the applevel parts are not ready for py3k')
+
     def test_repr(self):
         from numpypy import array
         assert repr(array([1, 2, 3, 4])) == 'array([1, 2, 3, 4])'
diff --git a/pypy/module/test_lib_pypy/numpypy/test_numpy.py 
b/pypy/module/test_lib_pypy/numpypy/test_numpy.py
--- a/pypy/module/test_lib_pypy/numpypy/test_numpy.py
+++ b/pypy/module/test_lib_pypy/numpypy/test_numpy.py
@@ -2,6 +2,9 @@
 
 class AppTestNumpy:
     def setup_class(cls):
+        import py
+        py.test.skip('the applevel parts are not ready for py3k')
+
         cls.space = gettestobjspace(usemodules=['micronumpy'])
 
     def test_imports(self):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to