code: def test_make_forecasting_frame_range(self):
      df, y = dataframe_functions.make_forecasting_frame(
          x=np.arange(4),
          kind="test",
          max_timeshift=1,
          rolling_direction=1,
      )
      expected_df = pd.DataFrame(
          {
              "id": list(zip(["id"] * 3, np.arange(1, 4))),
              "kind": ["test"] * 3,
              "value": np.arange(3),
              "time": [0, 1, 2],
          }
      )
      expected_y = pd.Series(
          data=[1, 2, 3],
          index=[("id", 1), ("id", 2), ("id", 3)],
          name="value",
      )
      assert_frame_equal(
          df.sort_index(axis=1).reset_index(drop=True),
          expected_df.sort_index(axis=1),
      )
      assert_series_equal(y, expected_y)
  
imports: import warnings
  from unittest import TestCase
  import numpy
  import pandas
  from pandas.testing import assert_frame_equal, assert_series_equal
  from tests.fixtures import warning_free
  from tsfresh import extract_relevant_features
  from tsfresh.feature_extraction.settings import MinimalFCParameters
  from tsfresh.utilities import dataframe_functions
label_desc: Use image node_id 2 for calling the MakeForecastingFrameTestCase obj's underlying member method code with example usage: obj.test_make_forecasting_frame_range() without return types