]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-33718: regrtest: use "xxx then yyy" result if re-run (GH-7521) (GH-7562)
authorVictor Stinner <vstinner@redhat.com>
Sat, 9 Jun 2018 16:59:19 +0000 (18:59 +0200)
committerGitHub <noreply@github.com>
Sat, 9 Jun 2018 16:59:19 +0000 (18:59 +0200)
commitb4f8bc56c1f19561b936be7347fa594ccd70d025
treec5e9fdc6831845cabfcc73ba1e6e817c8dff0701
parent4e6bd247aa955056626bf0cf8dc1c65a587b871f
bpo-33718: regrtest: use "xxx then yyy" result if re-run (GH-7521) (GH-7562)

If tests are re-run, use "xxx then yyy" result format (ex: "FAILURE
then SUCCESS") to show that some failing tests have been re-run.

Add also test_regrtest.test_rerun_fail() test.

(cherry picked from commit c45fc7673e23f911639d10d3771ffef7be870c7a)
Lib/test/regrtest.py
Lib/test/test_regrtest.py