Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ _exit_side_effect
Function
_exit_side_effect
Lib/unittest/mock.py:3006–3007 ·
view source on GitHub ↗
(exctype, excinst, exctb)
Source
from the content-addressed store, hash-verified
3004
return
next(_state[0])
3005
3006
def
_exit_side_effect(exctype, excinst, exctb):
3007
handle.close()
3008
3009
global file_spec
3010
if
file_spec is None:
Callers
nothing calls this directly
Calls
1
close
Method · 0.45
Tested by
no test coverage detected