(self)
| 916 | assert_(isinstance(delete(a, slice(1, -2)), SubClass)) |
| 917 | |
| 918 | def test_array_order_preserve(self): |
| 919 | # See gh-7113 |
| 920 | k = np.arange(10).reshape(2, 5, order='F') |
| 921 | m = delete(k, slice(60, None), axis=1) |
| 922 | |
| 923 | # 'k' is Fortran ordered, and 'm' should have the |
| 924 | # same ordering as 'k' and NOT become C ordered |
| 925 | assert_equal(m.flags.c_contiguous, k.flags.c_contiguous) |
| 926 | assert_equal(m.flags.f_contiguous, k.flags.f_contiguous) |
| 927 | |
| 928 | def test_index_floats(self): |
| 929 | with pytest.raises(IndexError): |
nothing calls this directly
no test coverage detected