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

holger krekel report at bugs.python.org
Mon Dec 6 20:06:15 CET 2010


holger krekel <holger.krekel at gmail.com> added the comment:

FWIW i tend to agree and would probably prefer setup/teardown to result in an error rather than be subsumed in an expected-to-fail marked test.  I guess if one regards setup/teardown as a place to implement pre/post-conditions than the changes suggested by Michael make more sense.  I'd like to see a more "real" use case / user than the abstract case provided here.

----------

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


More information about the Python-bugs-list mailing list