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

Method check

tests/test_connect.py:1791–1793  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1789
1790 async def test_connection_use_after_close(self):
1791 def check():
1792 return self.assertRaisesRegex(asyncpg.InterfaceError,
1793 'connection is closed')
1794
1795 await self.con.close()
1796

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected