(self, *, timeout=None)
| 35 | class SlowResetConnection(pg_connection.Connection): |
| 36 | """Connection class to simulate races with Connection.reset().""" |
| 37 | async def reset(self, *, timeout=None): |
| 38 | await asyncio.sleep(0.2) |
| 39 | return await super().reset(timeout=timeout) |
| 40 | |
| 41 | |
| 42 | class SlowCancelConnection(pg_connection.Connection): |