This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author berker.peksag
Recipients berker.peksag, kristall, pitrou
Date 2017-01-05.02:05:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1483581950.16.0.0329182740166.issue29152@psf.upfronthosting.co.za>
In-reply-to
Content
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 = self.failures
    else:
        errors = self.errors
    errors.append((subtest, self._exc_info_to_string(err, test)))

I don't know whether it was intentional or not so I'm adding Antoine to nosy list.

(I removed 3.4 from the versions field because it's in security-fix-only mode.)
History
Date User Action Args
2017-01-05 02:05:50berker.peksagsetrecipients: + berker.peksag, pitrou, kristall
2017-01-05 02:05:50berker.peksagsetmessageid: <1483581950.16.0.0329182740166.issue29152@psf.upfronthosting.co.za>
2017-01-05 02:05:50berker.peksaglinkissue29152 messages
2017-01-05 02:05:49berker.peksagcreate