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

Method test_connection_isinstance

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

Source from the content-addressed store, hash-verified

1659class TestConnection(tb.ConnectedTestCase):
1660
1661 async def test_connection_isinstance(self):
1662 self.assertTrue(isinstance(self.con, pg_connection.Connection))
1663 self.assertTrue(isinstance(self.con, object))
1664 self.assertFalse(isinstance(self.con, list))
1665
1666 async def test_connection_use_after_close(self):
1667 def check():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected