Author: Maciej Fijalkowski <[email protected]>
Branch: numpy-multidim
Changeset: r48536:fbb3d36afef8
Date: 2011-10-27 20:04 +0200
http://bitbucket.org/pypy/pypy/changeset/fbb3d36afef8/
Log: make the test test what I wanted to 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
@@ -696,8 +696,8 @@
assert (a == [[1, 2], [5, 6]]).all()
a[:,1] = numpy.array([8, 10])
assert (a == [[1, 8], [5, 10]]).all()
- a[:,::-1] = numpy.array([11, 12])
- assert (a == [[12, 11], [12, 11]]).all()
+ a[0,::-1] = numpy.array([11, 12])
+ assert (a == [[12, 11], [5, 10]]).all()
class AppTestSupport(object):
def setup_class(cls):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit