Commits

Maciej Fijalkowski committed 5ab418b

more tests

  • Participants
  • Parent commits 4209800
  • Branches numpy-back-to-applevel

Comments (0)

Files changed (1)

File pypy/module/micronumpy/test/test_numarray.py

     def test_take(self):
         from _numpypy import arange
         assert (arange(10).take([1, 2, 1, 1]) == [1, 2, 1, 1]).all()
+        raises(IndexError, "arange(3).take([15])")
 
 class AppTestSupport(BaseNumpyAppTest):
     def setup_class(cls):