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

Method test_connection_isinstance

tests/test_connect.py:1785–1788  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1783 gc.collect()
1784
1785 async def test_connection_isinstance(self):
1786 self.assertTrue(isinstance(self.con, pg_connection.Connection))
1787 self.assertTrue(isinstance(self.con, object))
1788 self.assertFalse(isinstance(self.con, list))
1789
1790 async def test_connection_use_after_close(self):
1791 def check():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected