See :func:`.Mock.reset_mock()`
(self, /, *args, **kwargs)
| 3095 | self.__dict__["_mock_wait_timeout"] = timeout |
| 3096 | |
| 3097 | def reset_mock(self, /, *args, **kwargs): |
| 3098 | """ |
| 3099 | See :func:`.Mock.reset_mock()` |
| 3100 | """ |
| 3101 | super().reset_mock(*args, **kwargs) |
| 3102 | self.__dict__["_mock_event"] = threading.Event() |
| 3103 | self.__dict__["_mock_calls_events"] = [] |
| 3104 | |
| 3105 | def __get_event(self, expected_args, expected_kwargs): |
| 3106 | with self._mock_calls_events_lock: |
nothing calls this directly
no test coverage detected