code: def test_init_TypeError_when_fun_predictors_argument_is_not_Callable():
      """
      Test TypeError is raised when fun_predictors is not a Callable.
      """
      fun_predictors = "create_predictors"
      err_msg = re.escape(
          f"Argument `fun_predictors` must be a Callable. Got {type(fun_predictors)}."
      )
      with pytest.raises(TypeError, match=err_msg):
          ForecasterAutoregCustom(
              regressor=LinearRegression(),
              fun_predictors=fun_predictors,
              window_size=5,
          )
  
file_path: skforecast/skforecast/ForecasterAutoregCustom/tests/test_init.py
imports: import re
  import pytest
  import pandas
  import numpy
  from skforecast.ForecasterAutoregCustom import ForecasterAutoregCustom
  from skforecast.exceptions import IgnoredArgumentWarning
  from sklearn.linear_model import LinearRegression
  from sklearn.neighbors import KNeighborsRegressor
label_desc: Use image node_id 5 for calling a global function with example usage: test_init_TypeError_when_fun_predictors_argument_is_not_Callable() without return types