code: def test_auto_arima_case_with_naive():
      """Test failure case from #805.
  
      AutoARIMA is replaced by NaiveForecaster.
  
      https://github.com/sktime/sktime/issues/805#issuecomment-891848228.
      """
      time_index = pd.date_range(
          "January 1, 2021", periods=8, freq="1D"
      )
      X = pd.DataFrame(
          np.random.randint(0, 4, 24).reshape(8, 3),
          columns=["First", "Second", "Third"],
          index=time_index,
      )
      y = pd.Series([1, 3, 2, 4, 5, 2, 3, 1], index=time_index)
  
      fh_ = ForecastingHorizon(X.index[5:], is_relative=False)
  
      a_clf = NaiveForecaster()
      clf = a_clf.fit(X=X[:5], y=y[:5])
      y_pred_sk = clf.predict(fh=fh_, X=X[5:])
  
      pd.testing.assert_index_equal(
          y_pred_sk.index,
          pd.date_range("January 6, 2021", periods=3, freq="1D"),
      )
  
      time_index = pd.date_range(
          "January 1, 2021", periods=8, freq="2D"
      )
      X = pd.DataFrame(
          np.random.randint(0, 4, 24).reshape(8, 3),
          columns=["First", "Second", "Third"],
          index=time_index,
      )
      y = pd.Series([1, 3, 2, 4, 5, 2, 3, 1], index=time_index)
  
      fh = ForecastingHorizon(X.index[5:], is_relative=False)
  
      a_clf = NaiveForecaster()
      clf = a_clf.fit(X=X[:5], y=y[:5])
      y_pred_sk = clf.predict(fh=fh, X=X[5:])
  
      pd.testing.assert_index_equal(
          y_pred_sk.index,
          pd.date_range("January 11, 2021", periods=3, freq="2D"),
      )
  
imports: from datetime import timedelta
  import numpy
  import pandas
  import pytest
  from numpy.testing._private.utils import assert_array_equal
  from pytest import raises
  from sktime.datasets import load_airline
  from sktime.datatypes._utilities import get_cutoff
  from sktime.forecasting.arima import AutoARIMA
  from sktime.forecasting.base import ForecastingHorizon
  from sktime.forecasting.base._fh import DELEGATED_METHODS, _check_freq, _extract_freq_from_cutoff
  from sktime.forecasting.ets import AutoETS
  from sktime.forecasting.exp_smoothing import ExponentialSmoothing
  from sktime.forecasting.naive import NaiveForecaster
  from sktime.forecasting.tests._config import INDEX_TYPE_LOOKUP, TEST_FHS, TEST_FHS_TIMEDELTA, VALID_INDEX_FH_COMBINATIONS
  from sktime.split import temporal_train_test_split
  from sktime.tests.test_switch import run_test_for_class
  from sktime.utils._testing.forecasting import _make_fh, make_forecasting_problem
  from sktime.utils._testing.series import _make_index, _make_series
  from sktime.utils.datetime import _coerce_duration_to_int, _get_duration, _get_freq, _get_intervals_count_and_unit, _shift, infer_freq
  from sktime.utils.validation.series import is_in_valid_index_types, is_integer_index
label_desc: Use image node_id 29 for calling a global function with example usage: test_auto_arima_case_with_naive() without return types