code: def test_predict_deprecated_model(model_url, tmpdir):
      model_dir = os.path.join(tmpdir, "model")
      os.makedirs(model_dir)
  
      archive_path = wget.download(model_url, tmpdir)
      with zipfile.ZipFile(archive_path, "r") as zip_ref:
          zip_ref.extractall(model_dir)
  
      ludwig_model = LudwigModel.load(model_dir)
      df = build_synthetic_dataset_df(NUM_EXAMPLES, ludwig_model.config)
  
      pred_df, _ = ludwig_model.predict(df)
      assert len(pred_df) == 25
  
file_path: ludwig/tests/regression_tests/model/test_old_models.py
imports: import os
  import zipfile
  import pandas
  import pytest
  import wget
  from ludwig.api import LudwigModel
  from ludwig.data.dataset_synthesizer import build_synthetic_dataset_df
label_desc: Use image node_id 2 for calling a global function with example usage: test_predict_deprecated_model(model_url, tmpdir) without return types