diff options
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/core/tests/test_indexing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/tests/test_indexing.py b/numpy/core/tests/test_indexing.py index 5587b407b..55eeb694a 100644 --- a/numpy/core/tests/test_indexing.py +++ b/numpy/core/tests/test_indexing.py @@ -141,10 +141,10 @@ class TestIndexing(TestCase): assert_raises(IndexError, a.__getitem__, b) def test_ellipsis_index(self): - # Ellipsis index does not create a view a = np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]]) + assert_(a[...] is not a) assert_equal(a[...], a) # `a[...]` was `a` in numpy <1.9. assert_(a[...].base is a) |