(self)
| 9316 | assert_raises(ValueError, np.place, a, a>20, []) |
| 9317 | |
| 9318 | def test_put_noncontiguous(self): |
| 9319 | a = np.arange(6).reshape(2,3).T # force non-c-contiguous |
| 9320 | np.put(a, [0, 2], [44, 55]) |
| 9321 | assert_equal(a, np.array([[44, 3], [55, 4], [2, 5]])) |
| 9322 | |
| 9323 | def test_putmask_noncontiguous(self): |
| 9324 | a = np.arange(6).reshape(2,3).T # force non-c-contiguous |
nothing calls this directly
no test coverage detected