From 981ee0a59072965dc1cd8877dd3482fd7e2b5b61 Mon Sep 17 00:00:00 2001 From: Rohit Goswami Date: Mon, 2 Dec 2024 05:40:18 +0000 Subject: [PATCH] TST: Cleanup old test cruft --- test/test_run.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/test/test_run.py b/test/test_run.py index 9ad3a1f55..1e60dd593 100644 --- a/test/test_run.py +++ b/test/test_run.py @@ -1,6 +1,5 @@ # Licensed under a 3-clause BSD style license - see LICENSE.rst -import sys import os import re import shutil @@ -16,7 +15,6 @@ from asv.commands import make_argparser from . import tools -from .tools import WIN def test_set_commit_hash(capsys, existing_env_conf): @@ -314,12 +312,6 @@ def check_env_matrix(env_build, env_nobuild): def test_parallel(basic_conf_2, dummy_packages): tmpdir, local, conf, machine_file = basic_conf_2 - if WIN and os.path.basename(sys.argv[0]).lower().startswith('py.test'): - # Multiprocessing in spawn mode can result to problems with py.test - # Find.run calls Setup.run in parallel mode by default - pytest.skip("Multiprocessing spawn mode on Windows not safe to run " - "from py.test runner.") - conf.matrix = { "req": dict(conf.matrix), "env": {"SOME_TEST_VAR": ["1", "2"]},