(self)
| 5976 | assert_array_equal(x.take([-1], axis=0)[0], x[1]) |
| 5977 | |
| 5978 | def test_clip(self): |
| 5979 | x = np.random.random(24) * 100 |
| 5980 | x = x.reshape((2, 3, 4)) |
| 5981 | assert_array_equal(x.take([-1], axis=0, mode='clip')[0], x[0]) |
| 5982 | assert_array_equal(x.take([2], axis=0, mode='clip')[0], x[1]) |
| 5983 | |
| 5984 | def test_wrap(self): |
| 5985 | x = np.random.random(24) * 100 |
nothing calls this directly
no test coverage detected