(self)
| 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 |
| 5986 | x = x.reshape((2, 3, 4)) |
| 5987 | assert_array_equal(x.take([-1], axis=0, mode='wrap')[0], x[1]) |
| 5988 | assert_array_equal(x.take([2], axis=0, mode='wrap')[0], x[0]) |
| 5989 | assert_array_equal(x.take([3], axis=0, mode='wrap')[0], x[1]) |
| 5990 | |
| 5991 | @pytest.mark.parametrize('dtype', ('>i4', '<i4')) |
| 5992 | def test_byteorder(self, dtype): |
nothing calls this directly
no test coverage detected