Skip to content

Commit

Permalink
FIX: Not raises
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Jun 6, 2024
1 parent 76a5f8b commit aff72fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mne/io/eeglab/tests/test_eeglab.py
Original file line number Diff line number Diff line change
Expand Up @@ -747,5 +747,5 @@ def test_eeglab_drop_nan_annotations(tmp_path):
ch_types=np.repeat("EEG", len(ch_names)),
)

with pytest.raises(RuntimeWarning, match="1 .* have an onset that is NaN.*"):
with pytest.warns(RuntimeWarning, match="1 .* have an onset that is NaN.*"):
raw = read_raw_eeglab(file_path, preload=True)

0 comments on commit aff72fc

Please sign in to comment.