diff options
author | Victor Stinner <vstinner@python.org> | 2023-09-10 01:07:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-10 01:07:05 (GMT) |
commit | a341750078e6de5206560adcf53337e0172ae1c6 (patch) | |
tree | 07dccce5e836bdb9081aa81725e00cf90d6a63bc /Lib/tty.py | |
parent | 0553fdfe3040073307e8c53273041130148541d5 (diff) | |
download | cpython-a341750078e6de5206560adcf53337e0172ae1c6.zip cpython-a341750078e6de5206560adcf53337e0172ae1c6.tar.gz cpython-a341750078e6de5206560adcf53337e0172ae1c6.tar.bz2 |
gh-109162: Refactor libregrtest.Regrtest (#109206)
* Add type hint types: TestName, StrPath, StrJSON.
* Add attributes to Regrtest:
* cmdline_args
* coverage
* coverage_dir
* fail_rerun
* next_single_filename
* print_slowest
* tmp_dir
* want_rerun
* want_run_leaks
* Remove Regrtest.ns attribute.
* Rename Regrtest methods:
* cleanup() => cleanup_temp_dir()
* create_temp_dir() => make_temp_dir()
* set_temp_dir() => select_temp_dir()
* Convert Regrtest methods to static methods:
* cleanup_temp_dir()
* display_header()
* fix_umask()
* get_rerun_match_tests()
* list_tests()
* make_temp_dir()
* select_temp_dir()
* Remove display_sanitizers() method: move code into
display_header().
* Rename 'test_cwd' variable to 'work_dir'.
Diffstat (limited to 'Lib/tty.py')
0 files changed, 0 insertions, 0 deletions