Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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_invalid_isolation_level_type
Method · 0.45
test_blob_closed
Method · 0.45
Calls
1
append
Method · 0.45
Tested by
no test coverage detected