Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __anext__
Method
__anext__
Lib/test/test_asyncgen.py:1184–1185 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1182
with
self.subTest(exc=exc):
1183
class
A:
1184
def
__anext__(self):
1185
raise
exc
1186
1187
with
self.assertRaisesRegex(exc_type, msg):
1188
anext(A())
Callers
8
async_iterate
Method · 0.45
test_async_gen_iteration_02
Method · 0.45
test_async_gen_exception_04
Method · 0.45
test_async_gen_exception_10
Method · 0.45
test_async_gen_exception_12
Method · 0.45
run1
Method · 0.45
run2
Method · 0.45
run
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected