code: def test_bad_spans():
      """Test reading raw cnt files with bad spans."""
      annot = read_annotations(fname_bad_spans)
      temp = "\t".join(annot.description)
      assert "BAD" in temp
  
file_path: mne-python/mne/io/cnt/tests/test_cnt.py
imports: import numpy
  import pytest
  from numpy.testing import assert_array_equal
  from mne import pick_types
  from mne.annotations import read_annotations
  from mne.datasets import testing
  from mne.io.cnt import read_raw_cnt
  from mne.io.tests.test_raw import _test_raw_reader
label_desc: Use image node_id 5 for calling a global function with example usage: test_bad_spans() without return types