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

Method test1

tests/test_cancellation.py:23–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 self.assertEqual(val, 'SELECT 1')
22
23 async def test1():
24 val = await self.con.fetchval('SELECT 42')
25 self.assertEqual(val, 42)
26
27 async def test2():
28 val = await self.con.fetchrow('SELECT 42')

Callers

nothing calls this directly

Calls 1

fetchvalMethod · 0.45

Tested by

no test coverage detected