code: def test_backtesting_forecaster_multiseries_TypeError_when_forecaster_not_a_forecaster_multiseries():
      """
      Test TypeError is raised in backtesting_forecaster_multiseries when
      forecaster is not of type 'ForecasterAutoregMultiSeries',
      'ForecasterAutoregMultiSeriesCustom' or 'ForecasterAutoregMultiVariate'.
      """
      forecaster = ForecasterAutoreg(
          regressor=Ridge(random_state=123), lags=2
      )
  
      err_msg = re.escape(
          (
              "`forecaster` must be of type `ForecasterAutoregMultiSeries`, "
              "`ForecasterAutoregMultiSeriesCustom` or `ForecasterAutoregMultiVariate`, "
              "for all other types of forecasters use the functions available in "
              f"the `model_selection` module. Got {type(forecaster).__name__}"
          )
      )
      with pytest.raises(TypeError, match=err_msg):
          backtesting_forecaster_multiseries(
              forecaster=forecaster,
              series=series,
              steps=4,
              levels="l1",
              metric="mean_absolute_error",
              initial_train_size=12,
              refit=False,
              fixed_train_size=False,
              exog=None,
              interval=None,
              n_boot=500,
              random_state=123,
              in_sample_residuals=True,
              verbose=False,
          )
  
imports: import re
  import pytest
  import numpy
  import pandas
  from sklearn.linear_model import Ridge
  from sklearn.metrics import mean_absolute_error
  from skforecast.exceptions import IgnoredArgumentWarning
  from skforecast.ForecasterAutoreg import ForecasterAutoreg
  from skforecast.ForecasterAutoregMultiSeries import ForecasterAutoregMultiSeries
  from skforecast.ForecasterAutoregMultiSeriesCustom import ForecasterAutoregMultiSeriesCustom
  from skforecast.ForecasterAutoregMultiVariate import ForecasterAutoregMultiVariate
  from skforecast.model_selection_multiseries import backtesting_forecaster_multiseries
  from skforecast.model_selection_multiseries import backtesting_forecaster_multivariate
  from .fixtures_model_selection_multiseries import series
label_desc: Use image node_id 2 for calling a global function with example usage: test_backtesting_forecaster_multiseries_TypeError_when_forecaster_not_a_forecaster_multiseries() without return types