diff options
author | Victor Stinner <vstinner@python.org> | 2023-09-08 22:41:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-08 22:41:26 (GMT) |
commit | 5b7303e2653a0723a3e4c767d03dd02681206ca8 (patch) | |
tree | b1ea2e62190674cb8d70f3f56a8f006c26aec649 /Lib/test/test_regrtest.py | |
parent | bcb2ab5ef8c646565b09c860fb14e415d7b374bd (diff) | |
download | cpython-5b7303e2653a0723a3e4c767d03dd02681206ca8.zip cpython-5b7303e2653a0723a3e4c767d03dd02681206ca8.tar.gz cpython-5b7303e2653a0723a3e4c767d03dd02681206ca8.tar.bz2 |
gh-109162: Refactor Regrtest.main() (#109163)
* main() now calls _parse_args() and pass 'ns' to Regrtest
constructor. Remove kwargs argument from Regrtest.main().
* _parse_args() checks ns.huntrleaks.
* set_temp_dir() is now responsible to call expanduser().
* Regrtest.main() sets self.tests earlier.
* Add TestTuple and TestList types.
* Rename MatchTests to FilterTuple and rename MatchTestsDict
to FilterTestDict.
* TestResult.get_rerun_match_tests() return type
is now FilterTuple: return a tuple instead of a list.
RunTests.tests type becomes TestTuple.
Diffstat (limited to 'Lib/test/test_regrtest.py')
0 files changed, 0 insertions, 0 deletions