[issue37719] addSubtest not calling addFailure and addError

2021-08-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> unittest subTest does not call addFailure ___ Python tracker __

[issue37719] addSubtest not calling addFailure and addError

2019-07-30 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also issue29152 which seems to raise same concerns over this behvavior. -- nosy: +ezio.melotti, michael.foord, rbcollins, xtreak ___ Python tracker ___

[issue37719] addSubtest not calling addFailure and addError

2019-07-30 Thread Xavier Dollé
New submission from Xavier Dollé : addSubTest from TestResult is appending elements to failures and errors without using addFailure or addError, making the extend of this class more difficult. suggestion: def addSubTest(self, test, subtest, err): ... if issubclass(err[0], test.failureExcep