code: def test_artifact_uploader_upload_artifact_file_not_exists(
      tempdir, artifact_uploader
  ):
      not_exist_file = os.path.join(tempdir, "not.exists")
      with pytest.raises(ValueError) as error:
          artifact_uploader.upload_artifact(not_exist_file)
      assert "does not exist or is not a file" in str(error)
  
imports: from __future__ import absolute_import
  import json
  import os
  import shutil
  import tempfile
  from mock import Mock, PropertyMock, call
  import pytest
  from src.sagemaker.experiments._helper import _LineageArtifactTracker, _ArtifactUploader
  from src.sagemaker.experiments._utils import resolve_artifact_name
  from src.sagemaker.session import Session
  from tests.unit import _test_default_bucket_and_prefix_combinations, DEFAULT_S3_OBJECT_KEY_PREFIX_NAME, DEFAULT_S3_BUCKET_NAME
label_desc: Use image node_id 9 for calling a global function with example usage: test_artifact_uploader_upload_artifact_file_not_exists(tempdir, artifact_uploader) without return types