(self, *, timeout=None)
| 30 | class SlowResetConnection(pg_connection.Connection): |
| 31 | """Connection class to simulate races with Connection.reset().""" |
| 32 | async def reset(self, *, timeout=None): |
| 33 | await asyncio.sleep(0.2) |
| 34 | return await super().reset(timeout=timeout) |
| 35 | |
| 36 | |
| 37 | class SlowCancelConnection(pg_connection.Connection): |