Skip to content

Commit 9e6a153

Browse files
authored
[stdlib] Add method_calls attribute to NonCallableMock class
1 parent 8c7256c commit 9e6a153

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/unittest/mock.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ class NonCallableMock(Base, Any):
199199
call_count: int
200200
call_args: _Call | MaybeNone
201201
call_args_list: _CallList
202+
method_calls: _CallList
202203
mock_calls: _CallList
203204
def _format_mock_call_signature(self, args: Any, kwargs: Any) -> str: ...
204205
def _call_matcher(self, _call: tuple[_Call, ...]) -> _Call: ...

0 commit comments

Comments
 (0)