(self, query, timeout, **kwargs)
| 142 | class SlowPrepareConnection(pg_connection.Connection): |
| 143 | """Connection class to test timeouts.""" |
| 144 | async def _get_statement(self, query, timeout, **kwargs): |
| 145 | await asyncio.sleep(0.3) |
| 146 | return await super()._get_statement(query, timeout, **kwargs) |
| 147 | |
| 148 | |
| 149 | class TestTimeoutCoversPrepare(tb.ConnectedTestCase): |
nothing calls this directly
no outgoing calls
no test coverage detected