code: def test_log_and_download_sklearn_model(tmp_path):
      from numpy.testing import assert_allclose
      from sklearn.datasets import load_iris
      from sklearn.linear_model import LogisticRegression
  
      X, y = load_iris(return_X_y=True)
      original = LogisticRegression().fit(X, y)
  
      experiment_id = mlflow.create_experiment(
          name="sklearn-model-experiment",
          artifact_location=f"sftp://{tmp_path}",
      )
      with mlflow.start_run(experiment_id=experiment_id):
          model_uri = mlflow.sklearn.log_model(
              original, "model"
          ).model_uri
          downloaded = mlflow.sklearn.load_model(model_uri)
  
      assert_allclose(original.predict(X), downloaded.predict(X))
  
file_path: mlflow/tests/store/artifact/test_sftp_artifact_repo.py
imports: import os
  import posixpath
  from tempfile import NamedTemporaryFile
  import pytest
  import mlflow
  from mlflow.store.artifact.artifact_repository_registry import get_artifact_repository
  from mlflow.store.artifact.sftp_artifact_repo import SFTPArtifactRepository
  from mlflow.utils.file_utils import TempDir
label_desc: Use image node_id 9 for calling a global function with example usage: test_log_and_download_sklearn_model(tmp_path) without return types