code: def test_events_from_annotation_orig_time_none():
      """Tests events_from_annotation with orig_time None and first_sampe > 0."""
      # Create fake data
      sfreq, duration_s = 100, 10
      data = np.random.RandomState(42).randn(1, sfreq * duration_s)
      info = mne.create_info(
          ch_names=["EEG1"], ch_types=["eeg"], sfreq=sfreq
      )
      raw = mne.io.RawArray(data, info)
  
      # Add annotation toward the end
      onset = [8]
      duration = [1]
      description = ["0"]
      annots = mne.Annotations(onset, duration, description)
      raw = raw.set_annotations(annots)
  
      # Crop start of raw
      raw.crop(tmin=7)
  
      # Extract epochs
      events, event_ids = mne.events_from_annotations(raw)
      epochs = mne.Epochs(
          raw,
          events,
          tmin=0,
          tmax=1,
          baseline=None,
          on_missing="warning",
      )
  
      # epochs is empty
      assert_array_equal(epochs.get_data()[0], data[:, 800:901])
  
imports: import sys
  from collections import OrderedDict
  from datetime import datetime, timedelta, timezone
  from itertools import repeat
  from pathlib import Path
  import numpy
  import pytest
  from numpy.testing import assert_allclose, assert_array_almost_equal, assert_array_equal, assert_equal
  from pytest import approx
  import mne
  from mne import Annotations, Epochs, annotations_from_events, count_annotations, create_info, events_from_annotations, read_annotations
  from mne.annotations import _handle_meas_date, _read_annotations_txt_parse_header, _sync_onset
  from mne.datasets import testing
  from mne.io import RawArray, concatenate_raws, read_raw_fif
  from mne.utils import _dt_to_stamp, _raw_annot, _record_warnings, _stamp_to_dt, assert_and_remove_boundary_annot, catch_logging, check_version
label_desc: Use image node_id 7 for calling a global function with example usage: test_events_from_annotation_orig_time_none() without return types