[pypy-commit] pypy default: adjust this test now that numpypy is external

bdkearns noreply at buildbot.pypy.org
Mon Nov 4 01:06:15 CET 2013


Author: Brian Kearns <bdkearns at gmail.com>
Branch: 
Changeset: r67817:cbfe08907bc1
Date: 2013-11-03 19:05 -0500
http://bitbucket.org/pypy/pypy/changeset/cbfe08907bc1/

Log:	adjust this test now that numpypy is external

diff --git a/pypy/module/cpyext/test/test_typeobject.py b/pypy/module/cpyext/test/test_typeobject.py
--- a/pypy/module/cpyext/test/test_typeobject.py
+++ b/pypy/module/cpyext/test/test_typeobject.py
@@ -360,8 +360,8 @@
 
     def test_ndarray_ref(self, space, api):
         w_obj = space.appexec([], """():
-            import numpypy as np
-            return np.int64(2)""")
+            import _numpypy
+            return _numpypy.multiarray.dtype('int64').type(2)""")
         ref = make_ref(space, w_obj)
         api.Py_DecRef(ref)
 


More information about the pypy-commit mailing list