code: def test_read_files_missing_channel(fname, expected_channel_list):
      """Test reading data files that has an omitted channel."""
      # This for Git issue #8391.  In some cases, the 'labels' (.rs3 file will
      # list channels that are not actually saved in the datafile (such as the
      # 'Ref' channel).  These channels are denoted in the 'info' (.dap) file
      # in the CHAN_IN_FILE section with a '0' as their index.
      # If the CHAN_IN_FILE section is present, the code also assures that the
      # channels are sorted in the prescribed order.
      # This test makes sure the data load correctly, and that we end up with
      # the proper channel list.
      raw = read_raw_curry(fname, preload=True)
      assert raw.ch_names == expected_channel_list
  
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 13 for calling a global function with example usage: test_read_files_missing_channel(fname, expected_channel_list) without return types