code: def test_find_spark_home(self):
      # SPARK-38827: Test find_spark_home without `SPARK_HOME` environment variable set.
      origin = os.environ["SPARK_HOME"]
      try:
          del os.environ["SPARK_HOME"]
          self.assertEqual(origin, _find_spark_home())
      finally:
          os.environ["SPARK_HOME"] = origin
  
imports: import os
  import unittest
  from py4j.protocol import Py4JJavaError
  from pyspark import keyword_only
  from pyspark.util import _parse_memory
  from pyspark.loose_version import LooseVersion
  from pyspark.testing.utils import PySparkTestCase, eventually
  from pyspark.find_spark_home import _find_spark_home
label_desc: Use image node_id 3 for calling the UtilTests obj's underlying member method code with example usage: obj.test_find_spark_home() without return types