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

Nick Coghlan report at bugs.python.org
Sat Oct 25 16:43:00 CEST 2014


Nick Coghlan added the comment:

If you want the simple model, there's nothing to change (except perhaps documentation), as that's the way things work today.

subtest support also makes it much easier to factor out common assertions without relying on the setUp/tearDown protocol, so I'd be OK with explicitly declaring having common assertions in those methods to be an abuse of the protocol.

----------

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


More information about the Python-bugs-list mailing list