Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner authored Mar 13, 2024
1 parent 77d234b commit 54001df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mne/io/eeglab/tests/test_eeglab.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

import numpy as np
import pytest
from eeglabio.raw import export_set
from numpy.testing import (
assert_allclose,
assert_array_almost_equal,
Expand Down Expand Up @@ -726,6 +725,8 @@ def get_bad_information(eeg, get_pos, *, montage_units):
def test_eeglab_drop_nan_annotations(tmp_path):
"""Test reading file with NaN annotations."""
pytest.importorskip("eeglabio")
from eeglabio.raw import export_set

file_path = tmp_path / "test_nan_anno.set"
raw = read_raw_eeglab(raw_fname_mat, preload=True)
data = raw.get_data()
Expand Down

0 comments on commit 54001df

Please sign in to comment.