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

Method _error_message

Lib/unittest/mock.py:2379–2381  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2377 raise AssertionError(f'Expected await: {expected}\nNot awaited')
2378
2379 def _error_message():
2380 msg = self._format_mock_failure_message(args, kwargs, action='await')
2381 return msg
2382
2383 expected = self._call_matcher(_Call((args, kwargs), two=True))
2384 actual = self._call_matcher(self.await_args)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected