[pypy-commit] pypy numpy-multidim: more tests

fijal noreply at buildbot.pypy.org
Thu Oct 27 16:19:28 CEST 2011


Author: Maciej Fijalkowski <fijall at gmail.com>
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):


More information about the pypy-commit mailing list