diff --git a/tractor/_testing/pytest.py b/tractor/_testing/pytest.py index 1c5fc4d2..37fc211e 100644 --- a/tractor/_testing/pytest.py +++ b/tractor/_testing/pytest.py @@ -851,6 +851,7 @@ def pytest_generate_tests( # scope='module', # ) + def _is_forking_spawner( start_method: str, ) -> bool: @@ -868,7 +869,7 @@ def is_forking_spawner( Is the `pytest` run using a `fork()`ing process spawning-backend? ''' - return _is_forking_spawner + return _is_forking_spawner(start_method) def maybe_xfail_for_spawner(