code: def test_read_ctf_annotations_smoke_test():
      """Test reading CTF marker file.
  
      `testdata_ctf_mc.ds` has no trials or offsets therefore its a plain reading
      of whatever is in the MarkerFile.mrk.
      """
      EXPECTED_ONSET = [
          0.0,
          0.1425,
          0.285,
          0.42833333,
          0.57083333,
          0.71416667,
          0.85666667,
          0.99916667,
          1.1425,
          1.285,
          1.4275,
          1.57083333,
          1.71333333,
          1.85666667,
          1.99916667,
          2.14166667,
          2.285,
          2.4275,
          2.57083333,
          2.71333333,
          2.85583333,
          2.99916667,
          3.14166667,
          3.28416667,
          3.4275,
          3.57,
          3.71333333,
          3.85583333,
          3.99833333,
          4.14166667,
          4.28416667,
          4.42666667,
          4.57,
          4.7125,
          4.85583333,
          4.99833333,
      ]
      fname = op.join(ctf_dir, "testdata_ctf_mc.ds")
      annot = read_annotations(fname)
      assert_allclose(annot.onset, EXPECTED_ONSET)
  
      raw = read_raw_ctf(fname)
      _assert_annotations_equal(raw.annotations, annot, 1e-6)
  
imports: import copy
  import os
  import shutil
  from datetime import datetime, timezone
  from os import path
  import numpy
  import pytest
  from numpy import array_equal
  from numpy.testing import assert_allclose, assert_array_equal
  import mne
  import mne.io.ctf.info
  from mne import create_info, events_from_annotations, make_forward_solution, pick_types, read_annotations
  from mne._fiff.compensator import get_current_comp
  from mne._fiff.constants import FIFF
  from mne._fiff.pick import _picks_to_idx
  from mne.datasets import brainstorm, spm_face, testing
  from mne.io import RawArray, read_raw_ctf, read_raw_fif
  from mne.io.ctf.constants import CTF
  from mne.io.ctf.info import _convert_time
  from mne.io.tests.test_raw import _test_raw_reader
  from mne.tests.test_annotations import _assert_annotations_equal
  from mne.transforms import apply_trans
  from mne.utils import _clean_names, _record_warnings, _stamp_to_dt, catch_logging
label_desc: Use image node_id 6 for calling a global function with example usage: test_read_ctf_annotations_smoke_test() without return types