Skip to content

Commit

Permalink
don't use process pool
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Jan 7, 2024
1 parent ccecb6a commit 89ceb12
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion psutil/tests/test_process_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@
from psutil.tests import serialrun


USE_PROC_POOL = not CI_TESTING
# Cuts the time in half, but (e.g.) on macOS the process pool stays
# alive after join() (multiprocessing bug?), messing up other tests.
USE_PROC_POOL = LINUX and not CI_TESTING


def proc_info(pid):
Expand Down

0 comments on commit 89ceb12

Please sign in to comment.