Skip to content

Commit 4489660

Browse files
committed
Docstring correction.
1 parent 584d74b commit 4489660

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

umock.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,7 @@ def reset_mock(self):
121121
This is useful for when you want to reuse a mock object.
122122
123123
The self._calls is a list of tuples, each of which represents a
124-
call to the mock object. Each tuple is in the form:
125-
126-
(method_name, args, kwargs)
124+
call to the mock object. Each tuple is in the form: (args, kwargs)
127125
"""
128126
self._calls = []
129127

@@ -233,7 +231,7 @@ def __call__(self, *args, **kwargs):
233231
"""
234232
Record the call and return the specified result. Calls to the mock
235233
object are recorded in the self._calls list. Each call is a tuple in
236-
the form: (method_name, args, kwargs).
234+
the form: (args, kwargs).
237235
238236
In order of precedence, the return value is determined as follows:
239237

0 commit comments

Comments
 (0)