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: unittest2 referenced in unittest.mock documentation
Type: behavior Stage: resolved
Components: Documentation Versions: Python 3.6, Python 3.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: aganders3, berker.peksag, docs@python, python-dev
Priority: normal Keywords: patch

Created on 2016-04-01 20:39 by aganders3, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
unittest2.patch aganders3, 2016-04-01 20:39 review
Messages (3)
msg262767 - (view) Author: Ashley Anderson (aganders3) * Date: 2016-04-01 20:39
I noticed a few references to `unittest2` in the documentation in the `unittest.mock` "getting started" section:

https://docs.python.org/3.6/library/unittest.mock-examples.html#patch-decorators

I am attaching a patch that just changes these occurrences from `unittest2` to `unittest`.
msg262781 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2016-04-02 01:32
New changeset 73279e4a1107 by Berker Peksag in branch '3.5':
Issue #26688: Fix module name in mock docs
https://hg.python.org/cpython/rev/73279e4a1107

New changeset 24efe844e598 by Berker Peksag in branch 'default':
Issue #26688: Fix module name in mock docs
https://hg.python.org/cpython/rev/24efe844e598
msg262782 - (view) Author: Berker Peksag (berker.peksag) * (Python committer) Date: 2016-04-02 01:34
Good catch, thanks Ashley!

3.3 and 3.4 are in security-fix-only mode so we don't fix documentation issues in those branches.
History
Date User Action Args
2022-04-11 14:58:29adminsetgithub: 70875
2016-04-02 01:34:19berker.peksagsetstatus: open -> closed

type: behavior
versions: - Python 3.3, Python 3.4
nosy: + berker.peksag

messages: + msg262782
resolution: fixed
stage: resolved
2016-04-02 01:32:27python-devsetnosy: + python-dev
messages: + msg262781
2016-04-01 20:39:28aganders3create