code: def setUp(self) -> None:
      self.spark = SparkSession.builder.remote("local[2]").getOrCreate()
  
file_path: spark/python/pyspark/ml/tests/connect/test_connect_summarizer.py
imports: import unittest
  from pyspark.sql import SparkSession
  from pyspark.testing.connectutils import should_test_connect, connect_requirement_message
label_desc: Use image node_id 1 for calling the SummarizerTestsOnConnect obj's underlying member method code with example usage: obj.setUp() without return types