| 3086 | return super()._get_child_mock(**kw) |
| 3087 | |
| 3088 | def __init__(self, *args, timeout=_timeout_unset, **kwargs): |
| 3089 | super().__init__(*args, **kwargs) |
| 3090 | if timeout is _timeout_unset: |
| 3091 | timeout = self.DEFAULT_TIMEOUT |
| 3092 | self.__dict__["_mock_event"] = threading.Event() # Event for any call |
| 3093 | self.__dict__["_mock_calls_events"] = [] # Events for each of the calls |
| 3094 | self.__dict__["_mock_calls_events_lock"] = threading.Lock() |
| 3095 | self.__dict__["_mock_wait_timeout"] = timeout |
| 3096 | |
| 3097 | def reset_mock(self, /, *args, **kwargs): |
| 3098 | """ |