code: def test_get_s3_file_upload_extra_args_invalid_json():
      os.environ.setdefault(
          "MLFLOW_S3_UPLOAD_EXTRA_ARGS",
          '"ServerSideEncryption": "aws:kms", "SSEKMSKeyId": "123456"}',
      )
  
      with pytest.raises(json.decoder.JSONDecodeError, match=r".+"):
          S3ArtifactRepository.get_s3_file_upload_extra_args()
  
imports: import json
  import os
  import posixpath
  import tarfile
  from datetime import datetime
  from unittest import mock
  from unittest.mock import ANY
  import botocore.exceptions
  import pytest
  import requests
  from mlflow.entities.multipart_upload import MultipartUploadPart
  from mlflow.store.artifact.artifact_repository_registry import get_artifact_repository
  from mlflow.store.artifact.optimized_s3_artifact_repo import OptimizedS3ArtifactRepository
  from mlflow.store.artifact.s3_artifact_repo import _MAX_CACHE_SECONDS, S3ArtifactRepository, _cached_get_s3_client
  from tests.helper_functions import set_boto_credentials
label_desc: Use image node_id 18 for calling a global function with example usage: test_get_s3_file_upload_extra_args_invalid_json() without return types