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

Method test_exit_suppress

Lib/test/test_contextlib.py:840–843  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

838 1/0
839
840 def test_exit_suppress(self):
841 with self.exit_stack() as stack:
842 stack.push(lambda *exc: True)
843 1/0
844
845 def test_exit_exception_traceback(self):
846 # This test captures the current behavior of ExitStack so that we know

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected