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

Method check

tests/test_connect.py:1667–1669  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1665
1666 async def test_connection_use_after_close(self):
1667 def check():
1668 return self.assertRaisesRegex(asyncpg.InterfaceError,
1669 'connection is closed')
1670
1671 await self.con.close()
1672

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected