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

Function _patch_stopall

Lib/unittest/mock.py:2009–2012  ·  view source on GitHub ↗

Stop all active patches. LIFO to unroll nested patches.

()

Source from the content-addressed store, hash-verified

2007
2008
2009def _patch_stopall():
2010 """Stop all active patches. LIFO to unroll nested patches."""
2011 for patch in reversed(_patch._active_patches):
2012 patch.stop()
2013
2014
2015patch.object = _patch_object

Callers

nothing calls this directly

Calls 2

reversedFunction · 0.85
stopMethod · 0.45

Tested by

no test coverage detected