Author: Matti Picus <[email protected]>
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_
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to