Author: Richard Plangger <[email protected]>
Branch: cpyext-injection
Changeset: r87894:d7923860c63b
Date: 2016-10-20 15:17 +0200
http://bitbucket.org/pypy/pypy/changeset/d7923860c63b/
Log: (arigato, plan_rich) add one line to the test
diff --git a/pypy/module/cpyext/injection/test/test_numpy.py
b/pypy/module/cpyext/injection/test/test_numpy.py
--- a/pypy/module/cpyext/injection/test/test_numpy.py
+++ b/pypy/module/cpyext/injection/test/test_numpy.py
@@ -12,3 +12,4 @@
array = np.ndarray(100)
array[10] = 1.0
assert array[10] == 1.0
+ assert type(array[10]) is np.float64
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit