[issue25894] unittest subTest failure causes result to be omitted from listing
Ezio Melotti
report at bugs.python.org
Mon Dec 28 17:52:36 EST 2015
Ezio Melotti added the comment:
> My gut feeling is that any subtest failure should be counted as the
> whole test failing. I’m not sure how the failure vs error cases should
> be handled. Maybe error should trump failure.
I think the priority should be error > failure > skip > pass.
IOW, pass should never be reported if any of the other 3 happen, skip should be reported only if there are no errors/failures, and errors should trump failures.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25894>
_______________________________________
More information about the Python-bugs-list
mailing list