code: def setUp(self) -> None:
      self.spark = (
          SparkSession.builder.remote("local[2]")
          .config(
              "spark.sql.artifact.copyFromLocalToFs.allowDestLocal",
              "true",
          )
          .getOrCreate()
      )
  
file_path: spark/python/pyspark/ml/tests/connect/test_connect_tuning.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 CrossValidatorTestsOnConnect obj's underlying member method code with example usage: obj.setUp() without return types