Message414177
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 |
|
Date |
User |
Action |
Args |
2022-02-28 06:41:44 | push-f | set | recipients:
+ push-f, michael.foord, docs@python, lisroach |
2022-02-28 06:41:43 | push-f | set | messageid: <1646030503.89.0.975314565573.issue46877@roundup.psfhosted.org> |
2022-02-28 06:41:43 | push-f | link | issue46877 messages |
2022-02-28 06:41:43 | push-f | create | |
|