code: def test_load_from_remote_uri_succeeds(
      auto_arima_model, model_path, mock_s3_bucket
  ):
      """Test loading native sktime model from mock S3 bucket."""
      flavor.save_model(sktime_model=auto_arima_model, path=model_path)
  
      artifact_root = f"s3://{mock_s3_bucket}"
      artifact_path = "model"
      artifact_repo = S3ArtifactRepository(artifact_root)
      artifact_repo.log_artifacts(
          model_path, artifact_path=artifact_path
      )
  
      model_uri = os.path.join(artifact_root, artifact_path)
      reloaded_sktime_model = flavor.load_model(model_uri=model_uri)
  
      np.testing.assert_array_equal(
          auto_arima_model.predict(fh=FH),
          reloaded_sktime_model.predict(fh=FH),
      )
  
imports: import os
  from pathlib import Path
  from unittest import mock
  import boto3
  import flavor
  import moto
  import numpy
  import pandas
  import pytest
  from botocore.config import Config
  from sktime.datasets import load_airline, load_longley
  from sktime.datatypes import convert
  from sktime.forecasting.arima import AutoARIMA
  from sktime.forecasting.model_selection import temporal_train_test_split
  from sktime.forecasting.naive import NaiveForecaster
  import mlflow
  from mlflow import pyfunc
  from mlflow.exceptions import MlflowException
  from mlflow.models import Model, infer_signature
  from mlflow.models.utils import _read_example
  from mlflow.store.artifact.s3_artifact_repo import S3ArtifactRepository
  from mlflow.tracking._model_registry import DEFAULT_AWAIT_MAX_SLEEP_SECONDS
  from mlflow.tracking.artifact_utils import _download_artifact_from_uri
  from mlflow.utils.environment import _mlflow_conda_env
label_desc: Use image node_id 15 for calling a global function with example usage: test_load_from_remote_uri_succeeds(auto_arima_model, model_path, mock_s3_bucket) without return types