]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-41620: TestCase.run() now always return a TestResult instance (GH-28030)
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 30 Aug 2021 13:16:25 +0000 (16:16 +0300)
committerGitHub <noreply@github.com>
Mon, 30 Aug 2021 13:16:25 +0000 (15:16 +0200)
commit7e246a3a7b43762480ee4fe0cfb859e8e997a8c8
tree03d23f0d379834e72bcc405f9ed69ea510f8a8d5
parentd6cb5dd9e19210f5963ff8beadde7ca2fda71574
bpo-41620: TestCase.run() now always return a TestResult instance (GH-28030)

Previously it returned None if the test class or method was
decorated with a skipping decorator.

Co-authored-by: Iman Tabrizian <iman.tabrizian@gmail.com>
Lib/unittest/case.py
Lib/unittest/test/test_skipping.py
Misc/NEWS.d/next/Library/2021-08-29-14-49-22.bpo-41620.WJ6PFL.rst [new file with mode: 0644]