Message408876
In https://github.com/python/importlib_metadata/issues/302, I learned that the way unittest reports failures in tests is incentivizing the replacement of docstrings with comments in order not to make resolution of the relevant failing test more difficult to locate.
I presume I don't need to explain why docstrings are nice and preferable over comments.
Better would be for unittest to provide an option to ignore the docstrings or to emit the test path regardless of whether a docstring was present and to employ that option in CPython, allowing for docstrings in tests. |
|
Date |
User |
Action |
Args |
2021-12-18 23:08:24 | jaraco | set | recipients:
+ jaraco |
2021-12-18 23:08:24 | jaraco | set | messageid: <1639868904.15.0.52665025329.issue46126@roundup.psfhosted.org> |
2021-12-18 23:08:24 | jaraco | link | issue46126 messages |
2021-12-18 23:08:24 | jaraco | create | |
|