]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-113661: unittest runner: Don't exit 5 if tests were skipped (#113856)
authorStefano Rivera <stefano@rivera.za.net>
Tue, 9 Jan 2024 19:50:01 +0000 (11:50 -0800)
committerGitHub <noreply@github.com>
Tue, 9 Jan 2024 19:50:01 +0000 (19:50 +0000)
commit3a9096c337c16c9335e0d4eba8d1d4196258af72
treeb8c47dbf94a29a8ca02dc5219197b196918be441
parent0297418cacf998e778bc0517aa11eaac827b8c0f
GH-113661: unittest runner: Don't exit 5 if tests were skipped (#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.
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]