(self)
| 1565 | assert_array_equal(a, ['12', '9']) |
| 1566 | |
| 1567 | def test_both(self): |
| 1568 | a = rand(10) |
| 1569 | mask = a > 0.5 |
| 1570 | ac = a.copy() |
| 1571 | c = extract(mask, a) |
| 1572 | place(a, mask, 0) |
| 1573 | place(a, mask, c) |
| 1574 | assert_array_equal(a, ac) |
| 1575 | |
| 1576 | |
| 1577 | # _foo1 and _foo2 are used in some tests in TestVectorize. |
nothing calls this directly
no test coverage detected