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

Method __enter__

Lib/test/test_unittest/test_runner.py:63–65  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

61 self.enter_result = enter_result
62
63 def __enter__(self):
64 self.ordering.append('enter')
65 return self.enter_result
66
67 def __exit__(self, *exc_info):
68 self.ordering.append('exit')

Callers 2

test_blob_closedMethod · 0.45

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected