Author: Maciej Fijalkowski <[email protected]>
Branch: numpy-multidim
Changeset: r48506:4fb18345b1ab
Date: 2011-10-27 16:18 +0200
http://bitbucket.org/pypy/pypy/changeset/4fb18345b1ab/

Log:    more tests

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
@@ -654,6 +654,7 @@
         b = a[:][:,1][:]
         assert b[2,1] == 0.0
         assert b[0,1] == 13
+        raises(IndexError, b.__getitem__, (4, 1))
 
 class AppTestSupport(object):
     def setup_class(cls):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to