[New-bugs-announce] [issue46877] unittest.doModuleCleanups() does not exist
Martin Fischer
report at bugs.python.org
Mon Feb 28 01:41:43 EST 2022
New submission from Martin Fischer <martin at push-f.com>:
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
----------
assignee: docs at python
components: Documentation
messages: 414177
nosy: docs at python, lisroach, michael.foord, push-f
priority: normal
severity: normal
status: open
title: unittest.doModuleCleanups() does not exist
type: enhancement
versions: Python 3.10, Python 3.11, Python 3.8, Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46877>
_______________________________________
More information about the New-bugs-announce
mailing list