Skip to content

Commit 39c745b

Browse files
committed
fix test err match
1 parent 28a4c78 commit 39c745b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mne_bids/tests/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def test_handle_datatype():
108108
_handle_datatype(raw, datatype)
109109
# if proper channel type (iEEG, EEG or MEG) is not found, raise ValueError
110110
ch_type = ["misc"]
111-
with pytest.raises(ValueError, match="No MEG, EEG or iEEG channels found"):
111+
with pytest.raises(ValueError, match="No MEG, EEG, iEEG, or EMG channels found"):
112112
info = mne.create_info(n_channels, sampling_rate, ch_types=ch_type * 2)
113113
raw = mne.io.RawArray(data, info)
114114
_handle_datatype(raw, datatype)

0 commit comments

Comments
 (0)