MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / bad_connect

Method bad_connect

tests/test_pool.py:205–206  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

203 self.assertEqual(reset_called, 10)
204
205 async def bad_connect(*args, **kwargs):
206 return 1
207
208 with self.assertRaisesRegex(
209 asyncpg.InterfaceError,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected