[pypy-commit] pypy numpy-back-to-applevel: more tests

fijal noreply at buildbot.pypy.org
Thu Jan 26 15:15:34 CET 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: numpy-back-to-applevel
Changeset: r51791:5ab418b60c8c
Date: 2012-01-26 14:00 +0200
http://bitbucket.org/pypy/pypy/changeset/5ab418b60c8c/

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
@@ -1405,6 +1405,7 @@
     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):


More information about the pypy-commit mailing list