Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MagicStack/asyncpg
/ MyException
Class
MyException
tests/test_pool.py:802–803 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
800
iterate = locals_[
'iterate'
]
801
802
class
MyException(Exception):
803
pass
804
805
with
self.assertRaises(MyException):
806
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
Used in the wild
real call sites across dependent graphs
searching dependent graphs…