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 serhiy.storchaka
Recipients adam-collard, barry, benjamin.peterson, ezio.melotti, michael.foord, r.david.murray, rbcollins, santoso.wijaya, serhiy.storchaka
Date 2021-12-16.12:15:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1639656932.13.0.426299728165.issue12681@roundup.psfhosted.org>
In-reply-to
Content
Such change would break a lot of existing interfaces.

* addUnexpectedSuccess() has a single parameter. The change will add the second parameter and will break subclasses of TestResult.
* addExpectedFailure() has two parameter. The change will add the third parameter and will break subclasses of TestResult.
* unexpectedSuccesses is a list of tests. The change will make it a list of 2-tuples and will break users of TestResult.
* expectedFailures is a list of 2-tuples. The change will make it a list of 3-tuples and will break users of TestResult.

It is too destructive change. I think we can live without a message argument for expectedFailure().
History
Date User Action Args
2021-12-16 12:15:32serhiy.storchakasetrecipients: + serhiy.storchaka, barry, rbcollins, benjamin.peterson, ezio.melotti, r.david.murray, michael.foord, adam-collard, santoso.wijaya
2021-12-16 12:15:32serhiy.storchakasetmessageid: <1639656932.13.0.426299728165.issue12681@roundup.psfhosted.org>
2021-12-16 12:15:32serhiy.storchakalinkissue12681 messages
2021-12-16 12:15:32serhiy.storchakacreate