(self, waiter, cancel_waiter=None)
| 42 | class SlowCancelConnection(pg_connection.Connection): |
| 43 | """Connection class to simulate races with Connection._cancel().""" |
| 44 | async def _cancel(self, waiter, cancel_waiter=None): |
| 45 | await asyncio.sleep(0.2) |
| 46 | return await super()._cancel(waiter, cancel_waiter) |
| 47 | |
| 48 | |
| 49 | class TestPool(tb.ConnectedTestCase): |
nothing calls this directly
no outgoing calls
no test coverage detected