Skip to content

Conversation

@vstinner
Copy link
Member

@vstinnervstinner commented Sep 9, 2023

  • Rename --worker-args command line option to --worker-json.

  • Rename _parse_worker_args() to _parse_worker_json().

  • WorkerJob:

    • Add runtests attribute
    • Remove test_name and rerun attribute
  • Rename run_test_in_subprocess() to create_worker_process().

  • Rename run_tests_worker() to worker_process().

  • create_worker_process() uses json.dump(): write directly JSON to stdout.

  • Convert MultiprocessResult to a frozen dataclass.

  • Rename RunTests.match_tests to RunTests.match_tests_dict.

* Rename --worker-args command line option to --worker-json. * Rename _parse_worker_args() to _parse_worker_json(). * WorkerJob: * Add runtests attribute * Remove test_name and rerun attribute * Rename run_test_in_subprocess() to create_worker_process(). * Rename run_tests_worker() to worker_process(). * create_worker_process() uses json.dump(): write directly JSON to stdout. * Convert MultiprocessResult to a frozen dataclass. * Rename RunTests.match_tests to RunTests.match_tests_dict.
@vstinnervstinner enabled auto-merge (squash) September 9, 2023 00:35
@vstinnervstinner merged commit a56c928 into python:mainSep 9, 2023
@vstinnervstinner deleted the regrtest_refactor4 branch September 9, 2023 01:03
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@vstinner@bedevere-bot