Title: gh-109162: Refactor libregrtest.Regrtest by vstinner · Pull Request #109206 · python/cpython · GitHub
Open Graph Title: gh-109162: Refactor libregrtest.Regrtest by vstinner · Pull Request #109206 · python/cpython
X Title: gh-109162: Refactor libregrtest.Regrtest by vstinner · Pull Request #109206 · python/cpython
Description: 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'. Issue: gh-109162
Open Graph Description: 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 ...
X Description: 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 ...
Opengraph URL: https://github.com/python/cpython/pull/109206
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:61e17a30-34ec-2a94-1561-2af735c381c0 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 8C48:25C52D:15DE76:1C4F31:696AFF3D |
| html-safe-nonce | 0c21b281d2664c7c76d8e31805b32bf66d5a2f0b1263dc0b23ccb537430c01e2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzQ4OjI1QzUyRDoxNURFNzY6MUM0RjMxOjY5NkFGRjNEIiwidmlzaXRvcl9pZCI6Ijc5Mzc2OTY4Nzg3NjMzNzY0NDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bdf5af6cf192edcf188cecc808de81b9a2a196be3b8a5c0a5baa1a03c3209c42 |
| hovercard-subject-tag | pull_request:1508965509 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/109206/checks |
| twitter:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| og:image:alt | 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 ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width