(self)
| 10428 | class TestWritebackIfCopy: |
| 10429 | # all these tests use the WRITEBACKIFCOPY mechanism |
| 10430 | def test_argmax_with_out(self): |
| 10431 | mat = np.eye(5) |
| 10432 | out = np.empty(5, dtype='i2') |
| 10433 | res = np.argmax(mat, 0, out=out) |
| 10434 | assert_equal(res, range(5)) |
| 10435 | |
| 10436 | def test_argmin_with_out(self): |
| 10437 | mat = -np.eye(5) |
nothing calls this directly
no test coverage detected