[pypy-commit] pypy numpy-multidim: another test

fijal noreply at buildbot.pypy.org
Thu Oct 27 19:09:05 CEST 2011


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: numpy-multidim
Changeset: r48520:1065599494c0
Date: 2011-10-27 17:38 +0200
http://bitbucket.org/pypy/pypy/changeset/1065599494c0/

Log:	another test

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
@@ -663,6 +663,7 @@
         a = numpy.zeros((3, 4))
         a[1] = [1, 2, 3, 4]
         assert a[1, 2] == 3
+        raises(TypeError, a[1].__setitem__, [1, 2, 3])
 
 class AppTestSupport(object):
     def setup_class(cls):


More information about the pypy-commit mailing list