code: def test_Sarimax_append_refit_False():
      """
      Test Sarimax append with refit `False`. It is tested with the
      skforecast wrapper and the statsmodels SARIMAX.
      """
  
      refit = False
  
      # skforecast
      sarimax = Sarimax(
          order=(1, 1, 1), maxiter=1000, method="cg", disp=False
      )
      sarimax.fit(y=y_numpy, exog=exog_numpy)
      sarimax.append(y=y_lw_numpy, exog=exog_lw_numpy, refit=refit)
      preds_skforecast = sarimax.predict(
          steps=10, exog=exog_lw_predict_numpy
      )
  
      # statsmodels
      sarimax = SARIMAX(order=(1, 1, 1), endog=y_numpy, exog=exog_numpy)
      sarimax_res = sarimax.fit(maxiter=1000, method="cg", disp=False)
      updated_res = sarimax_res.append(
          endog=y_lw_numpy, exog=exog_lw_numpy, refit=refit
      )
      preds_statsmodels = updated_res.get_forecast(
          steps=10, exog=exog_lw_predict_numpy
      ).predicted_mean
  
      # expected = np.array([0.89386888, 0.92919515, 0.98327241, 1.02336286, 1.05334974,
      #                      1.08759298, 1.02651694, 0.97164917, 0.91539724, 0.85551674])
  
      # np.testing.assert_almost_equal(preds_skforecast, expected)
      # np.testing.assert_almost_equal(preds_statsmodels, expected)
      np.testing.assert_almost_equal(
          preds_skforecast, preds_statsmodels
      )
  
imports: import re
  import pytest
  import numpy
  import pandas
  from sklearn.exceptions import NotFittedError
  from skforecast.Sarimax import Sarimax
  from statsmodels.tsa.statespace.sarimax import SARIMAX
  from statsmodels.tsa.statespace.sarimax import SARIMAXResults
  from statsmodels.tsa.statespace.sarimax import SARIMAXResultsWrapper
  from .fixtures_Sarimax import y
  from .fixtures_Sarimax import y_lw
  from .fixtures_Sarimax import exog
  from .fixtures_Sarimax import exog_lw
  from .fixtures_Sarimax import exog_predict
  from .fixtures_Sarimax import exog_lw_predict
  from .fixtures_Sarimax import y_datetime
  from .fixtures_Sarimax import exog_datetime
  from .fixtures_Sarimax import exog_predict_datetime
label_desc: Use image node_id 15 for calling a global function with example usage: test_Sarimax_append_refit_False() without return types