code: def test_throw_error_when_importing_old_ft_version_data():
      """Test if an error is thrown if the data was saved with an old version."""
      fname = testing_path / "fieldtrip" / "old_version.mat"
  
      with pytest.raises(
          RuntimeError,
          match="This file was created with "
          "an old version of FieldTrip. You "
          "can convert the data to the new "
          "version by loading it into "
          "FieldTrip and applying "
          "ft_selectdata with an "
          "empty cfg structure on it. "
          "Otherwise you can supply "
          "the Info field.",
      ):
          mne.io.read_epochs_fieldtrip(fname, info=None)
  
imports: import copy
  import itertools
  from contextlib import nullcontext
  import numpy
  import pytest
  import mne
  from mne.datasets import testing
  from mne.io import read_raw_fieldtrip
  from mne.io.fieldtrip.tests.helpers import assert_warning_in_record, check_data, check_info_fields, get_data_paths, get_epochs, get_evoked, get_raw_data, get_raw_info, pandas_not_found_warning_msg
  from mne.io.fieldtrip.utils import NOINFO_WARNING, _create_events
  from mne.io.tests.test_raw import _test_raw_reader
  from mne.utils import _check_pandas_installed, _record_warnings
label_desc: Use image node_id 11 for calling a global function with example usage: test_throw_error_when_importing_old_ft_version_data() without return types