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

Method start

Lib/unittest/mock.py:1665–1669  ·  view source on GitHub ↗

Activate a patch, returning any created mock.

(self)

Source from the content-addressed store, hash-verified

1663
1664
1665 def start(self):
1666 """Activate a patch, returning any created mock."""
1667 result = self.__enter__()
1668 self._active_patches.append(self)
1669 return result
1670
1671
1672 def stop(self):

Callers 15

__main__.pyFile · 0.45
__enter__Method · 0.45
hFunction · 0.45
waFunction · 0.45
xFunction · 0.45
TFunction · 0.45
AFunction · 0.45
EFunction · 0.45
d3.min.jsFile · 0.45
assertNotRegexMethod · 0.45
goaheadMethod · 0.45
parse_commentMethod · 0.45

Calls 2

__enter__Method · 0.95
appendMethod · 0.45

Tested by 4

setUpMethod · 0.36
setUpMethod · 0.36
test_fontMethod · 0.36
test_highlight_colorsMethod · 0.36