]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] GH-113661: unittest runner: Don't exit 5 if tests were skipped (GH-113856...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 9 Jan 2024 21:34:38 +0000 (22:34 +0100)
committerGitHub <noreply@github.com>
Tue, 9 Jan 2024 21:34:38 +0000 (13:34 -0800)
commit159e3db1f7697b9aecdf674bb833fbb87f3dcad3
treea327c8e369182098f55e329d2233133d85258f87
parent85cf360d2994514e2eae6f851750cff5d3d32235
[3.12] GH-113661: unittest runner: Don't exit 5 if tests were skipped (GH-113856) (#113875)

GH-113661: unittest runner: Don't exit 5 if tests were skipped (GH-113856)

The intention of exiting 5 was to detect issues where the test suite
wasn't discovered at all. If we skipped tests, it was correctly
discovered.
(cherry picked from commit 3a9096c337c16c9335e0d4eba8d1d4196258af72)

Co-authored-by: Stefano Rivera <stefano@rivera.za.net>
Doc/library/unittest.rst
Lib/test/test_unittest/test_program.py
Lib/unittest/main.py
Lib/unittest/runner.py
Misc/NEWS.d/next/Library/2024-01-09-08-59-43.gh-issue-113661.asvXSx.rst [new file with mode: 0644]