(self)
| 1056 | assert_(isinstance(delete(a, slice(1, -2)), SubClass)) |
| 1057 | |
| 1058 | def test_array_order_preserve(self): |
| 1059 | # See gh-7113 |
| 1060 | k = np.arange(10).reshape(2, 5, order='F') |
| 1061 | m = delete(k, slice(60, None), axis=1) |
| 1062 | |
| 1063 | # 'k' is Fortran ordered, and 'm' should have the |
| 1064 | # same ordering as 'k' and NOT become C ordered |
| 1065 | assert_equal(m.flags.c_contiguous, k.flags.c_contiguous) |
| 1066 | assert_equal(m.flags.f_contiguous, k.flags.f_contiguous) |
| 1067 | |
| 1068 | def test_index_floats(self): |
| 1069 | with pytest.raises(IndexError): |
nothing calls this directly
no test coverage detected