Skip to content

Commit

Permalink
FIX: All
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Feb 2, 2024
1 parent 83d0b63 commit 37a25a8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mne/io/cnt/tests/test_cnt.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ def test_new_data():
@testing.requires_testing_data
def test_auto_data():
"""Test reading raw cnt files with automatic header."""
with pytest.warns(RuntimeWarning, match="Omitted 6 annot"):
first = pytest.warns(RuntimeWarning, match="Could not define the number of bytes.*")
second = pytest.warns(RuntimeWarning, match="Annotations are outside")
third = pytest.warns(RuntimeWarning, match="Omitted 6 annot")
with first, second, third:
raw = read_raw_cnt(input_fname=fname_bad_spans)

assert raw.info["bads"] == ["F8"]
Expand Down

0 comments on commit 37a25a8

Please sign in to comment.