]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-109162: Regrtest copies 'ns' attributes (#109168)
authorVictor Stinner <vstinner@python.org>
Fri, 8 Sep 2023 23:48:54 +0000 (01:48 +0200)
committerGitHub <noreply@github.com>
Fri, 8 Sep 2023 23:48:54 +0000 (23:48 +0000)
commitac8409b38b5a11d88b2cfe4e38a712e8967ec843
tree1d2897bc899ccedb33015323c83409c6e0259c0a
parent5b7303e2653a0723a3e4c767d03dd02681206ca8
gh-109162: Regrtest copies 'ns' attributes (#109168)

* Regrtest.__init__() now copies 'ns' namespace attributes to
  Regrtest attributes. Regrtest match_tests and ignore_tests
  attributes have type FilterTuple (tuple), instead of a list.
* Add RunTests.copy(). Regrtest._rerun_failed_tests() now uses
  RunTests.copy().
* Replace Regrtest.all_tests (list) with Regrtest.first_runtests
  (RunTests).
* Make random_seed maximum 10x larger (9 digits, instead of 8).
Lib/test/libregrtest/main.py
Lib/test/libregrtest/runtest.py
Lib/test/test_regrtest.py