]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44708: Only re-run test methods that match names of previously failing test metho...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 22 Jul 2021 20:30:44 +0000 (13:30 -0700)
committerGitHub <noreply@github.com>
Thu, 22 Jul 2021 20:30:44 +0000 (22:30 +0200)
commit9608719e12b14087c1cb34f77c847974442cd6e7
tree52a7bbed681f5fcc6cf271d0c0b21f22ca3f7c47
parentd0c61753036dcae292d49aa8ddac555062da6b76
bpo-44708: Only re-run test methods that match names of previously failing test methods (GH-27287) (GH-27290)

* 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]