MCPcopy 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_iterateMethod · 0.45
run1Method · 0.45
run2Method · 0.45
runMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected