]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-136442: Fix unittest to return exit code 5 when setUpClass raises an except...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 15 Nov 2025 01:23:03 +0000 (02:23 +0100)
committerGitHub <noreply@github.com>
Sat, 15 Nov 2025 01:23:03 +0000 (01:23 +0000)
commitfb7ae3fe83075abe913d0f29415b7eaa3ddf338b
tree74c73ca57117fe61850867f145e3000f4793eb69
parent76db223ff8cbcf3eea340ec7f99eb5200282847a
[3.13] gh-136442: Fix unittest to return exit code 5 when setUpClass raises an exception (GH-136487) (#141577)

gh-136442: Fix unittest to return exit code 5 when setUpClass raises an exception (GH-136487)
(cherry picked from commit 53d65c840e038ce9a5782fbd3da963c7aba90570)

Co-authored-by: Takuya UESHIN <ueshin@happy-camper.st>
Lib/test/test_unittest/test_program.py
Lib/unittest/main.py
Misc/NEWS.d/next/Tests/2025-07-09-21-45-51.gh-issue-136442.jlbklP.rst [new file with mode: 0644]