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

Method start

Lib/unittest/mock.py:1658–1662  ·  view source on GitHub ↗

Activate a patch, returning any created mock.

(self)

Source from the content-addressed store, hash-verified

1656
1657
1658 def start(self):
1659 """Activate a patch, returning any created mock."""
1660 result = self.__enter__()
1661 self._active_patches.append(self)
1662 return result
1663
1664
1665 def stop(self):

Callers 10

__main__.pyFile · 0.45
_parse_makefileFunction · 0.45
assertNotRegexMethod · 0.45
goaheadMethod · 0.45
parse_commentMethod · 0.45
parse_piMethod · 0.45
_spawn_processMethod · 0.45
_invalidMethod · 0.45
_resolve_zip_pathMethod · 0.45

Calls 2

__enter__Method · 0.95
appendMethod · 0.45

Tested by

no test coverage detected