Author: Vincent Legoll <vincent.leg...@idgrilles.fr> Branch: fix-1674 Changeset: r81480:a9d3428f8847 Date: 2015-12-23 15:30 +0100 http://bitbucket.org/pypy/pypy/changeset/a9d3428f8847/
Log: Make test look consistent with other ones diff --git a/pypy/module/micronumpy/test/test_ndarray.py b/pypy/module/micronumpy/test/test_ndarray.py --- a/pypy/module/micronumpy/test/test_ndarray.py +++ b/pypy/module/micronumpy/test/test_ndarray.py @@ -3406,8 +3406,7 @@ assert (array([])[[]] == []).all() a = array([[1, 2], [3, 4], [5, 6]]) - b = a[array([0, 0])] - assert (b == [[1, 2], [1, 2]]).all() + assert (a[array([0, 0])] == [[1, 2], [1, 2]]).all() assert (a[[[0, 1], [0, 0]]] == array([1, 3])).all() assert (a[array([0, 2])] == [[1, 2], [5, 6]]).all() assert (a[array([0, 2]), 1] == [2, 6]).all() _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit