MCPcopy Index your code
hub / github.com/python/cpython / test_async_generator_anext

Method test_async_generator_anext

Lib/test/test_asyncgen.py:691–695  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

689 self.assertEqual(result, "completed")
690
691 def test_async_generator_anext(self):
692 async def agen():
693 yield 1
694 yield 2
695 self.check_async_iterator_anext(agen)
696
697 def test_python_async_iterator_anext(self):
698 class MyAsyncIter:

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected