code: def test_set_fit_kwargs():
      """
      Test set_fit_kwargs method.
      """
      forecaster = ForecasterAutoregCustom(
          regressor=LGBMRegressor(),
          fun_predictors=create_predictors,
          window_size=5,
          fit_kwargs={"categorical_feature": "auto"},
      )
  
      new_fit_kwargs = {"categorical_feature": ["exog"]}
      forecaster.set_fit_kwargs(new_fit_kwargs)
      results = forecaster.fit_kwargs
  
      expected = {"categorical_feature": ["exog"]}
  
      assert results == expected
  
label_desc: Use image node_id 2 for calling a global function with example usage: test_set_fit_kwargs() without return types