This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Dropping duplicated docstring explanation of what Mocks' side_effect does.
Type: enhancement Stage: resolved
Components: Library (Lib) Versions: Python 3.3, Python 3.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: ezio.melotti Nosy List: ezio.melotti, michael.foord, python-dev, raduv
Priority: normal Keywords: patch

Created on 2013-03-21 06:48 by raduv, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
drop_side_effect_docstring_duplicate.diff raduv, 2013-03-21 06:48 review
Messages (3)
msg184849 - (view) Author: Radu Voicilas (raduv) Date: 2013-03-21 06:48
Seems like there's a duplicated explanation in unittest.mock.Mock's docstring of what side_effect does. The attached patch should take care of that, if I'm not interpreting it wrong and it's actually on purpose there.
msg185137 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-03-24 14:11
New changeset 9445505389cf by Ezio Melotti in branch '3.3':
#17504: remove duplicated sentence.  Patch by Radu Voicilas.
http://hg.python.org/cpython/rev/9445505389cf

New changeset 2fc34f3dbc9d by Ezio Melotti in branch 'default':
#17504: merge with 3.3.
http://hg.python.org/cpython/rev/2fc34f3dbc9d
msg185138 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2013-03-24 14:11
Fixed, thanks for the report and the patch!
History
Date User Action Args
2022-04-11 14:57:43adminsetgithub: 61706
2013-03-24 14:11:32ezio.melottisetstatus: open -> closed

assignee: ezio.melotti
versions: + Python 3.3
nosy: + ezio.melotti

messages: + msg185138
resolution: fixed
stage: resolved
2013-03-24 14:11:03python-devsetnosy: + python-dev
messages: + msg185137
2013-03-21 06:48:34raduvcreate