Skip to content

Commit

Permalink
Merge pull request #3091 from alejoe91/skip-tridesclous-windows
Browse files Browse the repository at this point in the history
Mark failing sorter test on Windows*Python3.12 as xfail
  • Loading branch information
alejoe91 authored Jun 27, 2024
2 parents 96663b7 + 3e9f342 commit 1822ecf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/spikeinterface/sorters/tests/test_runsorter.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import os
import platform
import pytest
from pathlib import Path
import shutil
from packaging.version import parse

from spikeinterface import generate_ground_truth_recording
from spikeinterface.sorters import run_sorter
Expand All @@ -19,6 +21,10 @@ def generate_recording():
return _generate_recording()


@pytest.mark.xfail(
platform.system() == "Windows" and parse(platform.python_version()) > parse("3.12"),
reason="3rd parth threadpoolctl issue: OSError('GetModuleFileNameEx failed')",
)
def test_run_sorter_local(generate_recording, create_cache_folder):
recording = generate_recording
cache_folder = create_cache_folder
Expand Down

0 comments on commit 1822ecf

Please sign in to comment.