code: def test_existing_pickle():
      pkl_file = os.path.join(
          current_path, "results", "sm-0.9-sarimax.pkl"
      )
      loaded = sarimax.SARIMAXResults.load(pkl_file)
      assert isinstance(loaded, sarimax.SARIMAXResultsWrapper)
  
file_path: statsmodels/statsmodels/tsa/statespace/tests/test_save.py
imports: import pickle
  import os
  import tempfile
  import pytest
  from statsmodels import datasets
  from statsmodels.tsa.statespace import sarimax, structural, varmax, dynamic_factor
  from numpy.testing import assert_allclose
label_desc: Use image node_id 11 for calling a global function with example usage: test_existing_pickle() without return types