[pypy-commit] pypy cpyext-injection: (arigato, plan_rich) add one line to the test
plan_rich
pypy.commits at gmail.com
Thu Oct 20 09:18:16 EDT 2016
Author: Richard Plangger <planrichi at gmail.com>
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
More information about the pypy-commit
mailing list