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 Tabrizian, ezio.melotti, iritkatriel, michael.foord, rbcollins, serhiy.storchaka, terry.reedy
Date 2021-08-22.09:05:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
It is a bug because there is a difference between the following cases:

    def test1(self):

    def test2(self):

    def test2(self):

None is only returned in the first case. In other two cases a TestResult is returned with information about skipping.

It is obvious that it was unintentionally.

I just have fixed similar bug about calling stopTestRun() (issue44955).

Iman, please add tests and a NEWS entry. You can use tests added in issue44955 as an example.
Date User Action Args
2021-08-22 09:05:47serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, rbcollins, ezio.melotti, michael.foord, iritkatriel, Tabrizian
2021-08-22 09:05:47serhiy.storchakasetmessageid: <>
2021-08-22 09:05:47serhiy.storchakalinkissue41620 messages
2021-08-22 09:05:47serhiy.storchakacreate