(self)
| 5167 | assert_array_equal(x.take([2], axis=0, mode='clip')[0], x[1]) |
| 5168 | |
| 5169 | def test_wrap(self): |
| 5170 | x = np.random.random(24)*100 |
| 5171 | x.shape = 2, 3, 4 |
| 5172 | assert_array_equal(x.take([-1], axis=0, mode='wrap')[0], x[1]) |
| 5173 | assert_array_equal(x.take([2], axis=0, mode='wrap')[0], x[0]) |
| 5174 | assert_array_equal(x.take([3], axis=0, mode='wrap')[0], x[1]) |
| 5175 | |
| 5176 | @pytest.mark.parametrize('dtype', ('>i4', '<i4')) |
| 5177 | def test_byteorder(self, dtype): |
nothing calls this directly
no test coverage detected