[issue10548] Error in setUp not reported as expectedFailure (unittest)

R. David Murray report at bugs.python.org
Mon Dec 6 19:29:33 CET 2010


R. David Murray <rdmurray at bitdance.com> added the comment:

I would expect this code to report an error of some sort, not pass as an expected failure.  The expected failure should be in the test case *only*, not in the setup or teardown methods.  That is, I don't think this is a bug, I think it is a feature that allows one to debug one's test infrastructure.

----------
nosy: +r.david.murray

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10548>
_______________________________________


More information about the Python-bugs-list mailing list