Author: Maciej Fijalkowski <[email protected]>
Branch: numpy-multidim
Changeset: r48504:c50cad7db70b
Date: 2011-10-27 12:52 +0200
http://bitbucket.org/pypy/pypy/changeset/c50cad7db70b/
Log: fix the test. previous commit by accident - start working on slices
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
@@ -629,7 +629,7 @@
a = numpy.zeros((4, 3, 2))
raises(IndexError, a.__getitem__, (4,))
raises(IndexError, a.__getitem__, (3, 3))
- raises(IndexError, a.__getitem__, (:, 3))
+ raises(IndexError, a.__getitem__, (slice(None), 3))
class AppTestSupport(object):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit