mirror of
https://github.com/python/cpython.git
synced 2025-10-13 18:33:34 +00:00
#17504: remove duplicated sentence. Patch by Radu Voicilas.
This commit is contained in:
parent
b803c6c4b8
commit
31a7835df8
1 changed files with 0 additions and 3 deletions
|
@ -948,9 +948,6 @@ class Mock(CallableMixin, NonCallableMock):
|
||||||
the next value from the iterable. If any of the members of the iterable
|
the next value from the iterable. If any of the members of the iterable
|
||||||
are exceptions they will be raised instead of returned.
|
are exceptions they will be raised instead of returned.
|
||||||
|
|
||||||
If `side_effect` is an iterable then each call to the mock will return
|
|
||||||
the next value from the iterable.
|
|
||||||
|
|
||||||
* `return_value`: The value returned when the mock is called. By default
|
* `return_value`: The value returned when the mock is called. By default
|
||||||
this is a new Mock (created on first access). See the
|
this is a new Mock (created on first access). See the
|
||||||
`return_value` attribute.
|
`return_value` attribute.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue