Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MagicStack/asyncpg
/ MyException
Class
MyException
tests/test_pool.py:1306–1307 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1304
iterate = locals_[
'iterate'
]
1305
1306
class
MyException(Exception):
1307
pass
1308
1309
with
self.assertRaises(MyException):
1310
async
with
pool.acquire()
as
con:
Callers
3
test_pool_handles_transaction_exit_in_asyncgen_1
Method · 0.85
test_pool_handles_transaction_exit_in_asyncgen_2
Method · 0.85
test_pool_handles_asyncgen_finalization
Method · 0.85
Calls
no outgoing calls
Tested by
3
test_pool_handles_transaction_exit_in_asyncgen_1
Method · 0.68
test_pool_handles_transaction_exit_in_asyncgen_2
Method · 0.68
test_pool_handles_asyncgen_finalization
Method · 0.68