code: def spark():
      spark = SparkProvider.set_up_spark(
          "Testing",
          "local[*]",
          extra_dependencies=[],
          conf=test_spark_conf(),
      )
      yield spark
      spark.stop()
  
file_path: quinn/tests/conftest.py
imports: from functools import partial
  import pytest
  from pyspark import SparkConf
  from quinn.spark import SparkProvider
label_desc: Use image node_id 4 for calling a global function with example usage: spark() without return types