]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-108834: regrtest --fail-rerun exits with code 5 (#108896)
authorVictor Stinner <vstinner@python.org>
Tue, 5 Sep 2023 01:09:42 +0000 (03:09 +0200)
committerGitHub <noreply@github.com>
Tue, 5 Sep 2023 01:09:42 +0000 (01:09 +0000)
commit1170d5a292b46f754cd29c245a040f1602f70301
tree41699059e3e3daac65260d429f5a186b38c24b4e
parent676593859e75d4c3543d143092b77f55389006e4
gh-108834: regrtest --fail-rerun exits with code 5 (#108896)

When the --fail-rerun option is used and a test fails and then pass,
regrtest now uses exit code 5 ("rerun) instead of 2 ("bad test").
Lib/test/libregrtest/main.py
Lib/test/test_regrtest.py