Repository navigation
Reject nonpositive parallel worker counts - #818
Conversation
|
No actionable comments were generated in the recent review.
|
0220a20 to
5543247
Compare
Removed test for non-positive worker counts in ParallelWorkerPool.
This PR fixes nonpositive worker counts waiting for a worker that was never started. With this, ParallelWorkerPool rejects them immediately with ValueError. This also applies to empty input. The public parallel=0 option still selects the CPU count.
Fixes #817.
12 focused tests, pre-commit and the CI mypy command passed. The existing early-close worker test was excluded because it also fails on upstream in this environment.