Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MagicStack/asyncpg
/ test4
Method
test4
tests/test_cancellation.py:35–37 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
33
self.assertEqual(val, [(42,)])
34
35
async
def
test4():
36
val = await self.con.prepare(
'SELECT 42'
)
37
self.assertEqual(await val.fetchval(), 42)
38
39
async
def
test5():
40
self.assertEqual(await st1000.fetchval(), 1000)
Callers
nothing calls this directly
Calls
2
prepare
Method · 0.80
fetchval
Method · 0.45
Tested by
no test coverage detected