Skip to content

Commit

Permalink
Update mne/io/eeglab/tests/test_eeglab.py
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner authored Mar 13, 2024
1 parent a84bf2b commit 77d234b
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions mne/io/eeglab/tests/test_eeglab.py
Original file line number Diff line number Diff line change
Expand Up @@ -749,11 +749,5 @@ def test_eeglab_drop_nan_annotations(tmp_path):
ch_types=np.repeat("EEG", len(ch_names)),
)

with pytest.raises(
RuntimeWarning,
match=(
r"1 events have an onset that is NaN. These values are usually "
r"ignored by EEGLAB and will be dropped from the annotations."
),
):
with pytest.raises(RuntimeWarning, match="1 .* have an onset that is NaN.*"):
raw = read_raw_eeglab(file_path, preload=True)

0 comments on commit 77d234b

Please sign in to comment.