summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-03-24 14:10:24 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-03-24 14:10:24 (GMT)
commit31a7835df826ce90642fb7302a1168ac10f3b780 (patch)
tree891650b58564ce04a1fea149c2699060141849f1
parentb803c6c4b8d6256ac3d69f07f28c5c7024c3d4f5 (diff)
downloadcpython-31a7835df826ce90642fb7302a1168ac10f3b780.zip
cpython-31a7835df826ce90642fb7302a1168ac10f3b780.tar.gz
cpython-31a7835df826ce90642fb7302a1168ac10f3b780.tar.bz2
#17504: remove duplicated sentence. Patch by Radu Voicilas.
-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 8361fde..57bf957 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.