[issue10548] Error in setUp not reported as expectedFailure (unittest)
Michael Foord
report at bugs.python.org
Mon Oct 27 10:17:10 CET 2014
Michael Foord added the comment:
Assertions are not uncommon in setUp. setUp is for setting up common state shared between tests and I regularly want to assert that state creation / preconditions are correct.
I've never been bitten by this issue (I rarely use expectedFailure), but it's worth noting the use case.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10548>
_______________________________________
More information about the Python-bugs-list
mailing list