From 8bc3b61af1e05a29856a435a8ce847d24da407f8 Mon Sep 17 00:00:00 2001 From: zm711 <92116279+zm711@users.noreply.github.com> Date: Thu, 2 Nov 2023 13:06:25 -0400 Subject: [PATCH] remove linux warning --- src/spikeinterface/core/job_tools.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/spikeinterface/core/job_tools.py b/src/spikeinterface/core/job_tools.py index f94490986f..fcf1d93d1c 100644 --- a/src/spikeinterface/core/job_tools.py +++ b/src/spikeinterface/core/job_tools.py @@ -335,8 +335,6 @@ def __init__( assert mp_context != "fork", "'fork' mp_context not supported on Windows!" elif mp_context == "fork" and platform.system() == "Darwin": warnings.warn('As of Python 3.8 "fork" is no longer considered safe on macOS') - elif mp_context == "fork": - warnings.warn('Use of "fork" will be deprecated in Python. Consider "spawn" in the future') self.mp_context = mp_context