[issue29152] unittest subTest does not call addFailure

2017-01-23 Thread Martin Panter
Martin Panter added the comment: It is not obvious what the effect of not calling addFailure() is, but perhaps this is related to Issue 25894? Failure and error statuses are not immediately reported from subtests. -- nosy: +martin.panter ___ Python

[issue29152] unittest subTest does not call addFailure

2017-01-23 Thread kristall
kristall added the comment: Thanks for the quick 1st response. Since I put that part of my script on hold, I'd like to ask if it is possible to estimate when Antoine will have a look at this? Thanks in advance. -- ___ Python tracker

[issue29152] unittest subTest does not call addFailure

2017-01-04 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report. That's because TestResult.addSubTest() updates TestResult.errors and TestResult.failures itself instead of calling the addError() and addFailure() methods respectively: if issubclass(err[0], test.failureException): errors =

[issue29152] unittest subTest does not call addFailure

2017-01-04 Thread kristall
New submission from kristall: unittests subTests do not call addFailure in the case of a failure. Please see http://stackoverflow.com/questions/41432353/python3-4-unittest-addfailure-not-called-when-subtests-are-used for detailed problemdescription. -- components: Tests messages: