]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-109162: Refactor Regrtest.action_run_tests() (#109170)
authorVictor Stinner <vstinner@python.org>
Sat, 9 Sep 2023 00:30:28 +0000 (02:30 +0200)
committerGitHub <noreply@github.com>
Sat, 9 Sep 2023 00:30:28 +0000 (00:30 +0000)
commit489ca0acf00bb87ae63ab9199787843fdec5a0c8
tree310fd6fc21b111cdb8b0b0daf2729cee8863f279
parent2fafc3d5c6d720c9b9a4803dde60607fa44b89ce
gh-109162: Refactor Regrtest.action_run_tests() (#109170)

Refator Regrtest class:

* Rename finalize() finalize_tests().
* Pass tracer to run_test() and finalize_tests(). Remove Regrtest.tracer.
* run_test() does less things: move code to its caller.
Lib/test/libregrtest/main.py