diff options
Diffstat (limited to 'tests/conftest.py')
-rwxr-xr-x | tests/conftest.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/conftest.py b/tests/conftest.py index 8d33fa024..8b526f982 100755 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -20,7 +20,6 @@ # Tristan Maat <tristan.maat@codethink.co.uk> # import os -import multiprocessing import pkg_resources import pytest @@ -144,16 +143,3 @@ def set_xdg_paths(pytestconfig): value = os.path.join(pytestconfig.getoption("basetemp"), default) os.environ[env_var] = value - - -def pytest_configure(config): - # If we need to set_start_method() then we need to do it as early as - # possible. Note that some tests implicitly set the start method by using - # multiprocessing. If we wait for bst to do it, it will already be too - # late. - if "BST_FORCE_START_METHOD" in os.environ: - start_method = os.environ["BST_FORCE_START_METHOD"] - multiprocessing.set_start_method(start_method) - print( - "Multiprocessing method set to:", start_method, - ) |