(self)
| 9296 | class TestWritebackIfCopy: |
| 9297 | # all these tests use the WRITEBACKIFCOPY mechanism |
| 9298 | def test_argmax_with_out(self): |
| 9299 | mat = np.eye(5) |
| 9300 | out = np.empty(5, dtype='i2') |
| 9301 | res = np.argmax(mat, 0, out=out) |
| 9302 | assert_equal(res, range(5)) |
| 9303 | |
| 9304 | def test_argmin_with_out(self): |
| 9305 | mat = -np.eye(5) |
nothing calls this directly
no test coverage detected