code: def _assert_correct_pred_time_index(y_pred_index, cutoff, fh):
      assert isinstance(y_pred_index, pd.Index)
      fh = check_fh(fh)
      expected = fh.to_absolute_index(cutoff)
      assert y_pred_index.equals(expected)
  
file_path: sktime/sktime/utils/_testing/forecasting.py
imports: import numpy
  import pandas
  from sktime.forecasting.base import ForecastingHorizon
  from sktime.utils._testing.series import _make_series
  from sktime.utils.validation.forecasting import check_fh
label_desc: Use image node_id 5 for calling a global function with example usage: _assert_correct_pred_time_index(y_pred_index, cutoff, fh) without return types