code: def test_annotations_without_offset(tmp_path):
      """Test read of annotations without offset."""
      out_file = tmp_path / "tmp_eyelink.asc"
  
      # create fake dataset
      with open(fname_href) as file:
          lines = file.readlines()
      ts = lines[-3].split("\t")[0]
      line = f"MSG\t{ts} test string\n"
      lines = lines[:-3] + [line] + lines[-3:]
  
      with open(out_file, "w") as file:
          file.writelines(lines)
  
      raw = read_raw_eyelink(out_file, apply_offsets=False)
      assert raw.annotations[-1]["description"] == "test string"
      onset1 = raw.annotations[-1]["onset"]
      assert raw.annotations[1]["description"] == "-2 SYNCTIME"
      onset2 = raw.annotations[1]["onset"]
  
      raw = read_raw_eyelink(out_file, apply_offsets=True)
      assert raw.annotations[-1]["description"] == "test string"
      assert raw.annotations[1]["description"] == "SYNCTIME"
      assert_allclose(raw.annotations[-1]["onset"], onset1)
      assert_allclose(
          raw.annotations[1]["onset"], onset2 - 2 / raw.info["sfreq"]
      )
  
file_path: mne-python/mne/io/eyelink/tests/test_eyelink.py
imports: from pathlib import Path
  import numpy
  import pytest
  from numpy.testing import assert_allclose
  from mne._fiff.constants import FIFF
  from mne._fiff.pick import _DATA_CH_TYPES_SPLIT
  from mne.datasets.testing import data_path, requires_testing_data
  from mne.io import read_raw_eyelink
  from mne.io.eyelink._utils import _adjust_times, _find_overlaps
  from mne.io.tests.test_raw import _test_raw_reader
label_desc: Use image node_id 9 for calling a global function with example usage: test_annotations_without_offset(tmp_path) without return types