code: def mock_create_tar_file():
      with patch(
          "sagemaker.utils.create_tar_file", MagicMock()
      ) as create_tar_file:
          yield create_tar_file
  
file_path: sagemaker-python-sdk/tests/unit/sagemaker/huggingface/test_processing.py
imports: from __future__ import absolute_import
  import pytest
  from mock import Mock, patch, MagicMock
  from sagemaker.huggingface.processing import HuggingFaceProcessor
  from sagemaker.fw_utils import UploadedCode
  from sagemaker.session_settings import SessionSettings
  from .huggingface_utils import get_full_gpu_image_uri, GPU_INSTANCE_TYPE, REGION
label_desc: Use image node_id 1 for calling a global function with example usage: mock_create_tar_file() without return types