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

Method __exit__

Lib/test/test_with.py:36–40  ·  view source on GitHub ↗
(self, type, value, traceback)

Source from the content-addressed store, hash-verified

34 return _GeneratorContextManager.__enter__(self)
35
36 def __exit__(self, type, value, traceback):
37 self.exit_called = True
38 self.exit_args = (type, value, traceback)
39 return _GeneratorContextManager.__exit__(self, type,
40 value, traceback)
41
42
43def mock_contextmanager(func):

Callers

nothing calls this directly

Calls 1

__exit__Method · 0.45

Tested by

no test coverage detected