code: def test_read_curry_annotations(fname):
      """Test reading for Curry events file."""
      EXPECTED_ONSET = [
          0.484,
          0.486,
          0.62,
          0.622,
          1.904,
          1.906,
          3.212,
          3.214,
          4.498,
          4.5,
          5.8,
          5.802,
          7.074,
          7.076,
          8.324,
          8.326,
          9.58,
          9.582,
      ]
      EXPECTED_DURATION = np.zeros_like(EXPECTED_ONSET)
      EXPECTED_DESCRIPTION = [
          "4",
          "50000",
          "2",
          "50000",
          "1",
          "50000",
          "1",
          "50000",
          "1",
          "50000",
          "1",
          "50000",
          "1",
          "50000",
          "1",
          "50000",
          "1",
          "50000",
      ]
  
      annot = read_annotations(fname, sfreq="auto")
  
      assert annot.orig_time is None
      assert_array_equal(annot.onset, EXPECTED_ONSET)
      assert_array_equal(annot.duration, EXPECTED_DURATION)
      assert_array_equal(annot.description, EXPECTED_DESCRIPTION)
  
imports: from datetime import datetime, timezone
  from pathlib import Path
  from shutil import copyfile
  import numpy
  import pytest
  from numpy.testing import assert_allclose, assert_array_equal
  from mne._fiff.constants import FIFF
  from mne._fiff.tag import _loc_to_coil_trans
  from mne.annotations import events_from_annotations, read_annotations
  from mne.bem import _fit_sphere
  from mne.datasets import testing
  from mne.event import find_events
  from mne.io.bti import read_raw_bti
  from mne.io.curry import read_raw_curry
  from mne.io.curry.curry import FILE_EXTENSIONS, _get_curry_file_structure, _get_curry_version, _read_events_curry
  from mne.io.edf import read_raw_bdf
  from mne.io.tests.test_raw import _test_raw_reader
  from mne.utils import catch_logging
label_desc: Use image node_id 10 for calling a global function with example usage: test_read_curry_annotations(fname) without return types