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

Method check_async_iterator_anext

Lib/test/test_asyncgen.py:634–638  ·  view source on GitHub ↗
(self, ait_class)

Source from the content-addressed store, hash-verified

632 asyncio.events._set_event_loop_policy(None)
633
634 def check_async_iterator_anext(self, ait_class):
635 with self.subTest(anext="pure-Python"):
636 self._check_async_iterator_anext(ait_class, py_anext)
637 with self.subTest(anext="builtin"):
638 self._check_async_iterator_anext(ait_class, anext)
639
640 def _check_async_iterator_anext(self, ait_class, anext):
641 g = ait_class()

Calls 2

subTestMethod · 0.45

Tested by

no test coverage detected