summaryrefslogtreecommitdiff
path: root/Lib/unittest/mock.py
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-03-24 16:10:24 +0200
committerEzio Melotti <ezio.melotti@gmail.com>2013-03-24 16:10:24 +0200
commit31a7835df826ce90642fb7302a1168ac10f3b780 (patch)
tree891650b58564ce04a1fea149c2699060141849f1 /Lib/unittest/mock.py
parentb803c6c4b8d6256ac3d69f07f28c5c7024c3d4f5 (diff)
downloadcpython-git-31a7835df826ce90642fb7302a1168ac10f3b780.tar.gz
#17504: remove duplicated sentence. Patch by Radu Voicilas.
Diffstat (limited to 'Lib/unittest/mock.py')
-rw-r--r--Lib/unittest/mock.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/unittest/mock.py b/Lib/unittest/mock.py
index 8361fdea8d..57bf957a98 100644
--- a/Lib/unittest/mock.py
+++ b/Lib/unittest/mock.py
@@ -948,9 +948,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.