code: def test_serialization_methods_equal():
      arima = ARIMA(order=(0, 0, 0), suppress_warnings=True).fit(y)
  
      with tempfile.TemporaryDirectory() as dirname:
          joblib_path = os.path.join(dirname, "joblib.pkl")
          joblib.dump(arima, joblib_path)
          loaded = joblib.load(joblib_path)
          joblib_preds = loaded.predict()
  
          pickle_path = os.path.join(dirname, "pickle.pkl")
          with open(pickle_path, "wb") as p:
              pickle.dump(arima, p)
  
          with open(pickle_path, "rb") as p:
              loaded = pickle.load(p)
          pickle_preds = loaded.predict()
  
      assert_array_almost_equal(joblib_preds, pickle_preds)
  
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 22 for calling a global function with example usage: test_serialization_methods_equal() without return types