[stdlib] Add method_calls attribute to NonCallableMock class (#15076)

This commit is contained in:
Guo Ci
2025-11-24 10:51:05 -05:00
committed by GitHub
parent e2c8d58a41
commit c42613e4c4
+1
View File
@@ -199,6 +199,7 @@ class NonCallableMock(Base, Any):
call_count: int
call_args: _Call | MaybeNone
call_args_list: _CallList
method_calls: _CallList
mock_calls: _CallList
def _format_mock_call_signature(self, args: Any, kwargs: Any) -> str: ...
def _call_matcher(self, _call: tuple[_Call, ...]) -> _Call: ...