| 3079 | return super()._get_child_mock(**kw) |
| 3080 | |
| 3081 | def __init__(self, *args, timeout=_timeout_unset, **kwargs): |
| 3082 | super().__init__(*args, **kwargs) |
| 3083 | if timeout is _timeout_unset: |
| 3084 | timeout = self.DEFAULT_TIMEOUT |
| 3085 | self.__dict__["_mock_event"] = threading.Event() # Event for any call |
| 3086 | self.__dict__["_mock_calls_events"] = [] # Events for each of the calls |
| 3087 | self.__dict__["_mock_calls_events_lock"] = threading.Lock() |
| 3088 | self.__dict__["_mock_wait_timeout"] = timeout |
| 3089 | |
| 3090 | def reset_mock(self, /, *args, **kwargs): |
| 3091 | """ |