]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.9] bpo-44708: Only re-run test methods that match names of previously failing...
authorŁukasz Langa <lukasz@langa.pl>
Thu, 22 Jul 2021 21:17:13 +0000 (23:17 +0200)
committerGitHub <noreply@github.com>
Thu, 22 Jul 2021 21:17:13 +0000 (23:17 +0200)
commit0f55d21212a0fb6dec4479eb76249ab2b54e57a3
tree256f75cd4a1e71ee12afa704b818e5edc138c033
parent5ffbb05f1c3c952588ba5c1927da0e8223f5aaa7
[3.9] bpo-44708: Only re-run test methods that match names of previously failing test methods (GH-27287) (GH-27293)

* Move to a static argparse.Namespace subclass
* Roughly annotate runtest.py
* Refactor libregrtest to use lossless test result objects
* Only re-run test methods that match names of previously failing test methods
* Adopt tests to cover test method name matching

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>.
(cherry picked from commit f1afef5e0d93d66fbf3c9aaeab8b3b8da9617583)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Lib/test/libregrtest/cmdline.py
Lib/test/libregrtest/main.py
Lib/test/libregrtest/runtest.py
Lib/test/libregrtest/runtest_mp.py
Lib/test/support/__init__.py
Lib/test/test_regrtest.py
Misc/NEWS.d/next/Tests/2021-07-22-16-38-39.bpo-44708.SYNaac.rst [new file with mode: 0644]