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

Method __exit__

Lib/unittest/mock.py:1982–1986  ·  view source on GitHub ↗

Unpatch the dict.

(self, *args)

Source from the content-addressed store, hash-verified

1980
1981
1982 def __exit__(self, *args):
1983 """Unpatch the dict."""
1984 if self._original is not None:
1985 self._unpatch_dict()
1986 return False
1987
1988
1989 def start(self):

Callers 1

stopMethod · 0.95

Calls 1

_unpatch_dictMethod · 0.95

Tested by

no test coverage detected