#17504: merge with 3.3.
This commit is contained in:
commit
89e6b31845
@ -973,9 +973,6 @@ class Mock(CallableMixin, NonCallableMock):
|
||||
the next value from the iterable. If any of the members of the iterable
|
||||
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
|
||||
this is a new Mock (created on first access). See the
|
||||
`return_value` attribute.
|
||||
|
Loading…
x
Reference in New Issue
Block a user