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

Method my_cm_with_exit_stack

Lib/test/test_contextlib_async.py:788–791  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

786
787 @asynccontextmanager
788 async def my_cm_with_exit_stack():
789 async with self.exit_stack() as stack:
790 await stack.enter_async_context(my_cm())
791 yield stack
792
793 for cm in (my_cm, my_cm_with_exit_stack):
794 with self.subTest():

Callers

nothing calls this directly

Calls 1

enter_async_contextMethod · 0.80

Tested by

no test coverage detected