code: def test_download_artifacts_does_not_copy(local_artifact_repo):
      """
      The LocalArtifactRepository.download_artifact function should not copy the artifact if
      the ``dst_path`` argument is None.
      """
      artifact_rel_path = "test.txt"
      artifact_text = "hello world!"
      with TempDir(chdr=True) as local_dir:
          artifact_src_path = local_dir.path(artifact_rel_path)
          with open(artifact_src_path, "w") as f:
              f.write(artifact_text)
          local_artifact_repo.log_artifact(artifact_src_path)
          dst_path = local_artifact_repo.download_artifacts(
              artifact_path=artifact_rel_path
          )
          with open(dst_path) as f:
              assert f.read() == artifact_text
          assert dst_path.startswith(
              local_artifact_repo.artifact_dir
          ), "downloaded artifact is not in local_artifact_repo.artifact_dir root"
  
file_path: mlflow/tests/store/artifact/test_local_artifact_repo.py
imports: import os
  import posixpath
  import pytest
  from mlflow.exceptions import MlflowException
  from mlflow.store.artifact.local_artifact_repo import LocalArtifactRepository
  from mlflow.utils.file_utils import TempDir
label_desc: Use image node_id 6 for calling a global function with example usage: test_download_artifacts_does_not_copy(local_artifact_repo) without return types