Skip to content

Conversation

@vstinner
Copy link
Member

@vstinnervstinner commented Sep 11, 2023

Don't spawn more threads than the number of jobs: these worker threads would never get anything to do.

Add RunTests.get_jobs() method.

Don't spawn more threads than the number of jobs: these worker threads would never get anything to do. * Add the number of tests in "Run ... tests in ..." message. * Add RunTests.get_jobs() method. * Add plural() function. * count() uses f-string.
@vstinnervstinner enabled auto-merge (squash) September 12, 2023 03:34
@vstinnervstinner merged commit 8c813fa into python:mainSep 12, 2023
@vstinnervstinner deleted the regrtest_num_workers branch September 12, 2023 03:47
vstinner added a commit to vstinner/cpython that referenced this pull request Sep 13, 2023
Don't spawn more threads than the number of jobs: these worker threads would never get anything to do. * Add the number of tests in "Run ... tests in ..." message. * Add RunTests.get_jobs() method. * Add plural() function. * count() uses f-string.
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.

1 participant

@vstinner