(self)
| 459 | return p, canary |
| 460 | |
| 461 | def _checkout_event_fixture(self): |
| 462 | p = self._queuepool_fixture() |
| 463 | canary = [] |
| 464 | |
| 465 | def checkout(*arg, **kw): |
| 466 | canary.append("checkout") |
| 467 | |
| 468 | event.listen(p, "checkout", checkout) |
| 469 | |
| 470 | return p, canary |
| 471 | |
| 472 | def _checkin_event_fixture(self, _is_asyncio=False, _has_terminate=False): |
| 473 | p = self._queuepool_fixture( |
no test coverage detected