code: def test_initialize_lags_input_lags_parameter(lags, expected):
      """
      Test creation of attribute lags with different arguments.
      """
      lags = initialize_lags(
          forecaster_name="ForecasterAutoreg", lags=lags
      )
  
      assert (lags == expected).all()
  
file_path: skforecast/skforecast/utils/tests/test_initialize_lags.py
imports: import re
  import pytest
  import numpy
  import pandas
  from skforecast.utils import initialize_lags
label_desc: Use image node_id 6 for calling a global function with example usage: test_initialize_lags_input_lags_parameter(lags, expected) without return types