code: def test_package_name(self):
      self.assertEqual(
          "spark-3.0.0-bin-hadoop3.2",
          checked_package_name("spark-3.0.0", "hadoop3.2", "hive2.3"),
      )
  
      spark_version, hadoop_version, hive_version = checked_versions(
          "3.2.0", "3", "2.3"
      )
      self.assertEqual(
          "spark-3.2.0-bin-hadoop3.2",
          checked_package_name(
              spark_version, hadoop_version, hive_version
          ),
      )
  
      spark_version, hadoop_version, hive_version = checked_versions(
          "3.3.0", "3", "2.3"
      )
      self.assertEqual(
          "spark-3.3.0-bin-hadoop3",
          checked_package_name(
              spark_version, hadoop_version, hive_version
          ),
      )
  
file_path: spark/python/pyspark/tests/test_install_spark.py
imports: import os
  import tempfile
  import unittest
  from pyspark.install import install_spark, DEFAULT_HADOOP, DEFAULT_HIVE, UNSUPPORTED_COMBINATIONS, checked_versions, checked_package_name
label_desc: Use image node_id 2 for calling the SparkInstallationTestCase obj's underlying member method code with example usage: obj.test_package_name() without return types