[issue16997] subtests

Nick Coghlan report at bugs.python.org
Mon Mar 4 17:19:47 CET 2013


Nick Coghlan added the comment:

The docs are fairly explicit about the intended use case: "Mark the test as an expected failure. If the test fails when run, the test is not counted as a failure." (from http://docs.python.org/3/library/unittest#unittest.expectedFailure)

Nothing there about being able to call some other function and have doing so incidentally mark your test as an expected failure (which I actually consider highly *un*desirable behaviour)

----------

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


More information about the Python-bugs-list mailing list