MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / InvalidSpecError

Class InvalidSpecError

tools/python-3.11.9-amd64/Lib/unittest/mock.py:41–42  ·  view source on GitHub ↗

Indicates that an invalid value was used as a mock spec.

Source from the content-addressed store, hash-verified

39
40
41class InvalidSpecError(Exception):
42 """Indicates that an invalid value was used as a mock spec."""
43
44
45_builtins = {name for name in dir(builtins) if not name.startswith('_')}

Callers 5

_mock_add_specMethod · 0.85
__getattr__Method · 0.85
__init__Method · 0.85
__enter__Method · 0.85
create_autospecFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected