code: def test_check_select_fit_kwargs_ignores_arguments_not_in_regressor_fit():
      """
      Test check_select_fit_kwargs method ignores arguments not in regressor fit method.
      """
      results = check_select_fit_kwargs(
          regressor=LGBMRegressor(),
          fit_kwargs={"feature_name": "auto", "no_valid_argument": 10},
      )
      expected = {"feature_name": "auto"}
  
      assert results == expected
  
file_path: skforecast/skforecast/utils/tests/test_check_select_fit_kwargs.py
imports: import re
  import pytest
  import inspect
  from skforecast.exceptions import IgnoredArgumentWarning
  from skforecast.utils import check_select_fit_kwargs
  from lightgbm import LGBMRegressor
label_desc: Use image node_id 5 for calling a global function with example usage: test_check_select_fit_kwargs_ignores_arguments_not_in_regressor_fit() without return types