diff --git a/psutil/tests/test_process_all.py b/psutil/tests/test_process_all.py index cf7f11206..ee1a9b58d 100755 --- a/psutil/tests/test_process_all.py +++ b/psutil/tests/test_process_all.py @@ -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):