diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2014-02-09 09:43:42 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2014-02-09 09:43:42 -0700 |
commit | de6729d5499b7d93f9ee78f2800476fef9323c35 (patch) | |
tree | 7f692beb02505dd1965c3e2ffa73920645b70d37 /numpy/lib/tests/test_function_base.py | |
parent | 09d0520b58df0054880465b7ceae0e83a3b8e421 (diff) | |
parent | d554c2954b82b120ce77c1fd9a74c4deb85503a3 (diff) | |
download | numpy-de6729d5499b7d93f9ee78f2800476fef9323c35.tar.gz |
Merge pull request #3798 from seberg/new-index-machinery
ENH: Reimplementing the indexing machinery
Diffstat (limited to 'numpy/lib/tests/test_function_base.py')
-rw-r--r-- | numpy/lib/tests/test_function_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/tests/test_function_base.py b/numpy/lib/tests/test_function_base.py index 494b512f7..4d2360b69 100644 --- a/numpy/lib/tests/test_function_base.py +++ b/numpy/lib/tests/test_function_base.py @@ -249,7 +249,7 @@ class TestInsert(TestCase): assert_(isinstance(np.insert(a, [], []), SubClass)) assert_(isinstance(np.insert(a, [0, 1], [1, 2]), SubClass)) assert_(isinstance(np.insert(a, slice(1, 2), [1, 2]), SubClass)) - assert_(isinstance(np.insert(a, slice(1, -2), []), SubClass)) + assert_(isinstance(np.insert(a, slice(1, -2, -1), []), SubClass)) # This is an error in the future: a = np.array(1).view(SubClass) assert_(isinstance(np.insert(a, 0, [0]), SubClass)) |