code: def test_info_no_rename_no_reorder_no_pdf(pdf, config, hs, exported):
      """Test private renaming, reordering and partial construction option."""
      info, bti_info = _get_bti_info(
          pdf_fname=pdf,
          config_fname=config,
          head_shape_fname=hs,
          rotation_x=0.0,
          translation=(0.0, 0.02, 0.11),
          convert=False,
          ecg_ch="E31",
          eog_ch=("E63", "E64"),
          rename_channels=False,
          sort_by_ch_name=False,
      )
      info2, bti_info = _get_bti_info(
          pdf_fname=None,
          config_fname=config,
          head_shape_fname=hs,
          rotation_x=0.0,
          translation=(0.0, 0.02, 0.11),
          convert=False,
          ecg_ch="E31",
          eog_ch=("E63", "E64"),
          rename_channels=False,
          sort_by_ch_name=False,
      )
  
      assert_equal(
          info["ch_names"], [ch["ch_name"] for ch in info["chs"]]
      )
      assert_equal(
          [n for n in info["ch_names"] if n.startswith("A")][:5],
          ["A22", "A2", "A104", "A241", "A138"],
      )
      assert_equal(
          [n for n in info["ch_names"] if n.startswith("A")][-5:],
          ["A133", "A158", "A44", "A134", "A216"],
      )
  
      info = pick_info(
          info, pick_types(info, meg=True, stim=True, resp=True)
      )
      info2 = pick_info(
          info2, pick_types(info2, meg=True, stim=True, resp=True)
      )
  
      assert info["sfreq"] is not None
      assert info["lowpass"] is not None
      assert info["highpass"] is not None
      assert info["meas_date"] is not None
  
      assert_equal(info2["sfreq"], None)
      assert_equal(info2["lowpass"], None)
      assert_equal(info2["highpass"], None)
      assert_equal(info2["meas_date"], None)
  
      assert_equal(info["ch_names"], info2["ch_names"])
      assert_equal(info["ch_names"], info2["ch_names"])
      for key in ["dev_ctf_t", "dev_head_t", "ctf_head_t"]:
          assert_array_equal(info[key]["trans"], info2[key]["trans"])
  
      assert_array_equal(
          np.array([ch["loc"] for ch in info["chs"]]),
          np.array([ch["loc"] for ch in info2["chs"]]),
      )
  
      # just check reading data | corner case
      raw1 = read_raw_bti(
          pdf_fname=pdf,
          config_fname=config,
          head_shape_fname=None,
          sort_by_ch_name=False,
          preload=True,
      )
      # just check reading data | corner case
      raw2 = read_raw_bti(
          pdf_fname=pdf,
          config_fname=config,
          head_shape_fname=None,
          rename_channels=False,
          sort_by_ch_name=True,
          preload=True,
      )
  
      bti_ch_labels_1 = raw1._raw_extras[0]["bti_ch_labels"]
      bti_ch_labels_2 = raw2._raw_extras[0]["bti_ch_labels"]
      sort_idx = [bti_ch_labels_1.index(ch) for ch in bti_ch_labels_2]
      raw1._data = raw1._data[sort_idx]
      assert_array_equal(raw1._data, raw2._data)
      assert_array_equal(bti_ch_labels_2, raw2.ch_names)
  
imports: import os
  from collections import Counter
  from functools import partial, reduce
  from io import BytesIO
  from pathlib import Path
  import numpy
  import pytest
  from numpy.testing import assert_allclose, assert_array_almost_equal, assert_array_equal, assert_equal
  import mne
  from mne import pick_info, pick_types
  from mne._fiff._digitization import _make_bti_dig_points
  from mne._fiff.constants import FIFF
  from mne.datasets import testing
  from mne.io import read_raw_bti, read_raw_fif
  from mne.io.bti.bti import _check_nan_dev_head_t, _convert_coil_trans, _correct_trans, _get_bti_dev_t, _get_bti_info, _loc_to_coil_trans, _read_bti_header, _read_config, _read_head_shape, _rename_channels
  from mne.io.tests.test_raw import _test_raw_reader
  from mne.transforms import Transform, combine_transforms, invert_transform
  from mne.utils import assert_dig_allclose
label_desc: Use image node_id 7 for calling a global function with example usage: test_info_no_rename_no_reorder_no_pdf(pdf, config, hs, exported) without return types