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

Method test_exit_suppress

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

Source from the content-addressed store, hash-verified

907 1/0
908
909 def test_exit_suppress(self):
910 with self.exit_stack() as stack:
911 stack.push(lambda *exc: True)
912 1/0
913
914 def test_exit_exception_traceback(self):
915 # 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