code: def test_issue_104(model):
      # Issue 104 shows that observations were not being updated appropriately.
      # We need to make sure they update for ALL models (ARMA, ARIMA, SARIMAX)
      endog = wineind
      train, test = endog[:125], endog[125:]
  
      model.fit(train)
      preds1 = model.predict(n_periods=100)
  
      model.update(test)
      preds2 = model.predict(n_periods=100)
  
      # These should be DIFFERENT
      assert not np.array_equal(preds1, preds2)
  
imports: import numpy
  import pandas
  from pmdarima.arima import ARIMA, auto_arima, AutoARIMA, ARMAtoMA
  from pmdarima.arima import _validation
  from pmdarima.compat.pytest import pytest_error_str
  from pmdarima.datasets import load_lynx, load_wineind, load_heartrate
  from numpy.random import RandomState
  from numpy.testing import assert_array_almost_equal, assert_almost_equal, assert_allclose
  from statsmodels import api
  from sklearn.metrics import mean_squared_error
  import datetime
  import joblib
  import os
  import pickle
  import pytest
  import tempfile
  import time
label_desc: Use image node_id 23 for calling a global function with example usage: test_issue_104(model) without return types