From: Ezio Melotti Date: Sun, 24 Mar 2013 14:10:24 +0000 (+0200) Subject: #17504: remove duplicated sentence. Patch by Radu Voicilas. X-Git-Tag: v3.4.0a1~1098^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=31a7835df826ce90642fb7302a1168ac10f3b780;p=thirdparty%2FPython%2Fcpython.git #17504: remove duplicated sentence. Patch by Radu Voicilas. --- diff --git a/Lib/unittest/mock.py b/Lib/unittest/mock.py index 8361fdea8de9..57bf957a98e1 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.