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

Method test2

tests/test_cancellation.py:27–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25 self.assertEqual(val, 42)
26
27 async def test2():
28 val = await self.con.fetchrow('SELECT 42')
29 self.assertEqual(val, (42,))
30
31 async def test3():
32 val = await self.con.fetch('SELECT 42')

Callers

nothing calls this directly

Calls 1

fetchrowMethod · 0.45

Tested by

no test coverage detected