code: def test_auto_pass_in_exp_config_to_process_job(
      mock_start_job, run_obj, sagemaker_session
  ):
      mock_start_job.return_value = ProcessingJob(
          sagemaker_session, "my-job", [], [], ""
      )
      with run_obj:
          processor = Processor(
              role="arn:my-role",
              image_uri="my-image",
              instance_count=1,
              instance_type="ml.m5.large",
              sagemaker_session=sagemaker_session,
          )
          processor.run(wait=False, logs=False)
  
          assert _RunContext.get_current_run() == run_obj
  
      expected_exp_config = run_obj.experiment_config
      assert (
          mock_start_job.call_args[1]["experiment_config"]
          == expected_exp_config
      )
  
      # _RunContext is cleaned up after exiting the with statement
      assert not _RunContext.get_current_run()
  
imports: from __future__ import absolute_import
  from unittest.mock import patch, MagicMock
  import pytest
  from sagemaker import Processor
  from sagemaker.estimator import Estimator, _TrainingJob
  from sagemaker.experiments.experiment import Experiment
  from sagemaker.experiments.run import _RunContext
  from sagemaker.experiments import load_run, Run
  from sagemaker.experiments.trial import _Trial
  from sagemaker.experiments.trial_component import _TrialComponent
  from sagemaker.processing import ProcessingJob
  from sagemaker.transformer import _TransformJob, Transformer
  from tests.unit.sagemaker.experiments.helpers import TEST_EXP_NAME, mock_trial_load_or_create_func, mock_tc_load_or_create_func
label_desc: Use image node_id 3 for calling a global function with example usage: test_auto_pass_in_exp_config_to_process_job(mock_start_job, run_obj, sagemaker_session) without return types