Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 31a7835

Browse files
committed
#17504: remove duplicated sentence. Patch by Radu Voicilas.
1 parent b803c6c commit 31a7835

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

Lib/unittest/mock.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -948,9 +948,6 @@ class or instance) that acts as the specification for the mock object. If
948948
the next value from the iterable. If any of the members of the iterable
949949
are exceptions they will be raised instead of returned.
950950
951-
If `side_effect` is an iterable then each call to the mock will return
952-
the next value from the iterable.
953-
954951
* `return_value`: The value returned when the mock is called. By default
955952
this is a new Mock (created on first access). See the
956953
`return_value` attribute.

0 commit comments

Comments
 (0)