[pypy-commit] pypy numpy-multidim: even more tests, you can never be sure

fijal noreply at buildbot.pypy.org
Thu Oct 27 16:21:06 CEST 2011


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: numpy-multidim
Changeset: r48507:e6db0d0d0445
Date: 2011-10-27 16:19 +0200
http://bitbucket.org/pypy/pypy/changeset/e6db0d0d0445/

Log:	even more tests, you can never be sure

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
@@ -655,6 +655,8 @@
         assert b[2,1] == 0.0
         assert b[0,1] == 13
         raises(IndexError, b.__getitem__, (4, 1))
+        assert a[0][1][1] == 13
+        assert a[1][2][1] == 15
 
 class AppTestSupport(object):
     def setup_class(cls):


More information about the pypy-commit mailing list