Author: Maciej Fijalkowski <[email protected]>
Branch: numpy-indexing-by-arrays-2
Changeset: r51385:23d3ca4e7881
Date: 2012-01-17 12:10 +0200
http://bitbucket.org/pypy/pypy/changeset/23d3ca4e7881/
Log: good, fix the 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
@@ -1318,7 +1318,7 @@
assert (a[a > 3] == [4, 5, 6, 7, 8, 9]).all()
a = arange(10).reshape(5, 2)
assert (a[a > 3] == [4, 5, 6, 7, 8, 9]).all()
- assert (a[a & 1] == [0, 2, 4, 6, 8]).all()
+ assert (a[a & 1 == 1] == [1, 3, 5, 7, 9]).all()
class AppTestSupport(BaseNumpyAppTest):
def setup_class(cls):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit