[issue27198] Adding an assertClose() method to unittest.TestCase
Raymond Hettinger
report at bugs.python.org
Fri Jun 3 23:10:39 EDT 2016
Raymond Hettinger added the comment:
FWIW, I find assertClose easy to misinterpret. At first, it looks like an assertion that a file is closed. And once you mentally pronounce it like "close something that is open", it is harder to make the jump to "close as in nearby".
Also, I feed there is very little need for this. that we don't need another way to do it, and that the menagerie of specific asserts is getting harder to learn and remember (i.e. is easier to make up new assert methods than it is to remember what someone else wanted to name it).
----------
nosy: +rhettinger
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27198>
_______________________________________
More information about the Python-bugs-list
mailing list