From e18fec9b17c094546e26f5db4ad9d9300d7132a9 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Sun, 26 Jan 2020 22:09:06 -0500 Subject: [PATCH] Always force mp backend on Windows --- tests/conftest.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/conftest.py b/tests/conftest.py index 924036b..b7feae4 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -28,6 +28,10 @@ def pytest_addoption(parser): def pytest_configure(config): backend = config.option.spawn_backend + + if plaform.system() == "Windows": + backend = 'mp' + if backend == 'mp': tractor._spawn.try_set_start_method('spawn') elif backend == 'trio_run_in_process':