[pypy-commit] pypy ndarray-subtype: a failing test
mattip
noreply at buildbot.pypy.org
Wed Jul 3 21:38:00 CEST 2013
Author: Matti Picus <matti.picus at gmail.com>
Branch: ndarray-subtype
Changeset: r65177:ef040bfffe60
Date: 2013-07-03 22:37 +0300
http://bitbucket.org/pypy/pypy/changeset/ef040bfffe60/
Log: a failing test
diff --git a/pypy/module/micronumpy/test/test_numarray.py b/pypy/module/micronumpy/test/test_numarray.py
--- a/pypy/module/micronumpy/test/test_numarray.py
+++ b/pypy/module/micronumpy/test/test_numarray.py
@@ -1483,6 +1483,12 @@
assert a.shape == (2, 2)
assert a.dtype is dtype(int)
assert a.id == 'subtype'
+ a.fill(3)
+ b = a[0]
+ assert isinstance(b, C)
+ assert (b == 3).all()
+ b[0]=100
+ assert a[0,0] == 100
def test_tolist_scalar(self):
from numpypy import int32, bool_
More information about the pypy-commit
mailing list