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

Michael Foord report at bugs.python.org
Mon Sep 19 01:37:23 CEST 2011


Michael Foord <michael at voidspace.org.uk> added the comment:

I think Twisted uses the tearDown to fail tests as well. As we have two use cases perhaps we should allow expectedFailure to work with failues in tearDown? (And if we do that it should cover setUp as well for symmetry or it becomes a morass of special cases.)

----------

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


More information about the Python-bugs-list mailing list