Author: mattip <[email protected]>
Branch: 
Changeset: r63152:ecf9e3e0f3b1
Date: 2013-04-08 20:07 +0300
http://bitbucket.org/pypy/pypy/changeset/ecf9e3e0f3b1/

Log:    a failing test for issue 1438

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
@@ -422,6 +422,12 @@
         assert a[4] == 5.0
         raises(IndexError, "a[5] = 0.0")
         raises(IndexError, "a[-6] = 3.0")
+        a = array(range(5), dtype=float)
+        a[0] = 0.005
+        assert a[0] == 0.005
+        a[1] = array(-0.005)
+        assert a[1] == -0.005
+
 
     def test_setitem_tuple(self):
         from numpypy import array
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to