MCPcopy Index your code
hub / github.com/RustPython/RustPython / my_cm_with_exit_stack

Method my_cm_with_exit_stack

Lib/test/test_contextlib.py:975–978  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

973
974 @contextmanager
975 def my_cm_with_exit_stack():
976 with self.exit_stack() as stack:
977 stack.enter_context(my_cm())
978 yield stack
979
980 for cm in (my_cm, my_cm_with_exit_stack):
981 with self.subTest():

Callers

nothing calls this directly

Calls 1

enter_contextMethod · 0.80

Tested by

no test coverage detected