code: def test_set_fit_kwargs_pmdarima():
      """
      Test set_fit_kwargs method using pmdarima.
      """
      forecaster = ForecasterSarimax(
          regressor=ARIMA(order=(1, 1, 1)),
          fit_kwargs={"fit_args": {"optim_score": "approx"}},
      )
  
      new_fit_kwargs = {"fit_args": {"optim_score": "harvey"}}
      forecaster.set_fit_kwargs(new_fit_kwargs)
      results = forecaster.fit_kwargs
  
      expected = {"fit_args": {"optim_score": "harvey"}}
  
      assert results == expected
  
file_path: skforecast/skforecast/ForecasterSarimax/tests/test_set_fit_kwargs.py
imports: import re
  import pytest
  from pmdarima.arima import ARIMA
  from skforecast.Sarimax import Sarimax
  from skforecast.ForecasterSarimax import ForecasterSarimax
  from skforecast.exceptions import IgnoredArgumentWarning
label_desc: Use image node_id 1 for calling a global function with example usage: test_set_fit_kwargs_pmdarima() without return types