mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
[3.14] gh-136442: Fix unittest to return exit code 5 when setUpClass raises an exception (GH-136487) (#141576)
gh-136442: Fix unittest to return exit code 5 when setUpClass raises an exception (GH-136487)
(cherry picked from commit 53d65c840e)
Co-authored-by: Takuya UESHIN <ueshin@happy-camper.st>
This commit is contained in:
parent
a2442fda6e
commit
d582b6f1ab
3 changed files with 26 additions and 5 deletions
|
|
@ -0,0 +1 @@
|
|||
Use exitcode ``1`` instead of ``5`` if :func:`unittest.TestCase.setUpClass` raises an exception
|
||||
Loading…
Add table
Add a link
Reference in a new issue