code: def test_pyspark_processor_instantiation(sagemaker_session):
      # This just tests that the import is right and that the processor can be instantiated
      # Functionality is tested in project root container directory.
      PySparkProcessor(
          base_job_name="sm-spark",
          role="AmazonSageMaker-ExecutionRole",
          framework_version="2.4",
          instance_count=1,
          instance_type="ml.c5.xlarge",
          sagemaker_session=sagemaker_session,
      )
  
imports: from __future__ import absolute_import
  import pathlib
  import subprocess
  import tempfile
  from io import BytesIO
  from typing import Generator
  from unittest.case import TestCase
  from unittest.mock import MagicMock, Mock, call, mock_open, patch
  import pytest
  from sagemaker.processing import ProcessingInput, ProcessingOutput
  from sagemaker.session_settings import SessionSettings
  from sagemaker.spark.processing import PySparkProcessor, SparkJarProcessor, _SparkProcessorBase, _HistoryServer, FileType, SparkConfigUtils
label_desc: Use image node_id 10 for calling a global function with example usage: test_pyspark_processor_instantiation(sagemaker_session) without return types