(self)
| 442 | return output |
| 443 | |
| 444 | def test_basic(self): |
| 445 | choices = self.choices |
| 446 | conditions = self.conditions |
| 447 | assert_array_equal(select(conditions, choices, default=15), |
| 448 | self._select(conditions, choices, default=15)) |
| 449 | |
| 450 | assert_equal(len(choices), 3) |
| 451 | assert_equal(len(conditions), 3) |
| 452 | |
| 453 | def test_broadcasting(self): |
| 454 | conditions = [np.array(True), np.array([False, True, False])] |
nothing calls this directly
no test coverage detected