Skip to content

Commit

Permalink
TST: Cleanup old test cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoZeke committed Dec 2, 2024
1 parent ea25e86 commit 981ee0a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions test/test_run.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst

import sys
import os
import re
import shutil
Expand All @@ -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):
Expand Down Expand Up @@ -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"]},
Expand Down

0 comments on commit 981ee0a

Please sign in to comment.