forked from kevlened/pytest-parallel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not create thread if tests_per_worker==1
Avoid creating a thread when there is one worker. This allows benefitting from signal-based communication with the test workers when threads are not used (e.g., for timeouts as in solves kevlened#96)
- Loading branch information
1 parent
e2bd6ee
commit 0a7617e
Showing
1 changed file
with
36 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters