Author: Brian Kearns <[email protected]>
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)
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to