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.

Author push-f
Recipients docs@python, lisroach, michael.foord, push-f
Date 2022-02-28.06:41:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1646030503.89.0.975314565573.issue46877@roundup.psfhosted.org>
In-reply-to
Content
The unittest documentation[1] describes unittest.doModuleCleanups().

That function however doesn't exist since it's only in the unittest.case module and not re-exported in the unittest module (unlike addModuleCleanup).

So I think either the documentation should be corrected or doModuleCleanups should be re-exported in unittest/__init__.py to match the documentation.

[1]: https://docs.python.org/3.8/library/unittest.html
History
Date User Action Args
2022-02-28 06:41:44push-fsetrecipients: + push-f, michael.foord, docs@python, lisroach
2022-02-28 06:41:43push-fsetmessageid: <1646030503.89.0.975314565573.issue46877@roundup.psfhosted.org>
2022-02-28 06:41:43push-flinkissue46877 messages
2022-02-28 06:41:43push-fcreate