MCPcopy Index your code
hub / github.com/RustPython/RustPython / mock.py

File mock.py

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

Source from the content-addressed store, hash-verified

1# mock.py
2# Test tools for mocking and patching.
3# Maintained by Michael Foord
4# Backport for other versions of Python available from

Callers

nothing calls this directly

Calls 15

partialClass · 0.90
dirFunction · 0.85
idFunction · 0.85
_ANYClass · 0.85
_CallClass · 0.85
_extract_mock_nameMethod · 0.80
_SentinelClass · 0.70
startswithMethod · 0.45
removeprefixMethod · 0.45
joinMethod · 0.45
splitMethod · 0.45
__hash__Method · 0.45

Tested by

no test coverage detected