Author: Maciej Fijalkowski <[email protected]>
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):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to