MCPcopy Create free account
hub / github.com/python/cpython / _format_mock_call_signature

Method _format_mock_call_signature

Lib/unittest/mock.py:866–868  ·  view source on GitHub ↗
(self, args, kwargs)

Source from the content-addressed store, hash-verified

864
865
866 def _format_mock_call_signature(self, args, kwargs):
867 name = self._mock_name or 'mock'
868 return _format_call_signature(name, args, kwargs)
869
870
871 def _format_mock_failure_message(self, args, kwargs, action='call'):

Callers 6

assert_called_withMethod · 0.95
assert_any_callMethod · 0.95
assert_awaited_withMethod · 0.80
assert_any_awaitMethod · 0.80

Calls 1

_format_call_signatureFunction · 0.85

Tested by

no test coverage detected