Skip to content

Commit

Permalink
FIX: Two skips
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Jan 23, 2024
1 parent e664e69 commit 97bfef9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mne/io/fiff/tests/test_raw_fiff.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import os
import pathlib
import pickle
import platform
import shutil
import sys
from copy import deepcopy
Expand Down Expand Up @@ -42,6 +43,7 @@
assert_and_remove_boundary_annot,
assert_object_equal,
catch_logging,
check_version,
requires_mne,
run_subprocess,
)
Expand Down Expand Up @@ -1023,6 +1025,8 @@ def test_proj(tmp_path):
@pytest.mark.parametrize("preload", [False, True, "memmap.dat"])
def test_preload_modify(preload, tmp_path):
"""Test preloading and modifying data."""
if platform.system() == "Windows" and check_version("numpy", "2.0.0dev"):
pytest.skip("Problem on Windows, see numpy/issues/25665")
rng = np.random.RandomState(0)
raw = read_raw_fif(fif_fname, preload=preload)

Expand Down Expand Up @@ -1926,6 +1930,8 @@ def test_equalize_channels():
def test_memmap(tmp_path):
"""Test some interesting memmapping cases."""
# concatenate_raw
if platform.system() == "Windows" and check_version("numpy", "2.0.0dev"):
pytest.skip("Problem on Windows, see numpy/issues/25665")
memmaps = [str(tmp_path / str(ii)) for ii in range(3)]
raw_0 = read_raw_fif(test_fif_fname, preload=memmaps[0])
assert raw_0._data.filename == memmaps[0]
Expand Down

0 comments on commit 97bfef9

Please sign in to comment.