Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MagicStack/asyncpg
/ test0
Method
test0
tests/test_cancellation.py:19–21 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
17
st1000 = await self.con.prepare(
'SELECT 1000'
)
18
19
async
def
test0():
20
val = await self.con.execute(
'SELECT 42'
)
21
self.assertEqual(val,
'SELECT 1'
)
22
23
async
def
test1():
24
val = await self.con.fetchval(
'SELECT 42'
)
Callers
nothing calls this directly
Calls
1
execute
Method · 0.45
Tested by
no test coverage detected