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

Method bad_connect

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

Source from the content-addressed store, hash-verified

185 self.assertEqual(reset_called, 10)
186
187 async def bad_connect(*args, **kwargs):
188 return 1
189
190 with self.assertRaisesRegex(
191 asyncpg.InterfaceError,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected