]> granicus.if.org Git - python/commitdiff
#17504: remove duplicated sentence. Patch by Radu Voicilas.
authorEzio Melotti <ezio.melotti@gmail.com>
Sun, 24 Mar 2013 14:10:24 +0000 (16:10 +0200)
committerEzio Melotti <ezio.melotti@gmail.com>
Sun, 24 Mar 2013 14:10:24 +0000 (16:10 +0200)
Lib/unittest/mock.py

index 8361fdea8de997cdc1fe3228a0ac4675b414b7f9..57bf957a98e1b33c8ffff441ef1bc73dc21bc6da 100644 (file)
@@ -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.