code: def test_different_types(self):
      with self.assertRaisesRegex(TypeError, "was <class 'int'>"):
          ps.set_option("test.config.list", 1)
  
      with self.assertRaisesRegex(
          TypeError, "however, expected types are"
      ):
          ps.set_option("test.config.float", "abc")
  
      with self.assertRaisesRegex(TypeError, "[<class 'int'>]"):
          ps.set_option("test.config.int", "abc")
  
      with self.assertRaisesRegex(
          TypeError, "(<class 'int'>, <class 'NoneType'>)"
      ):
          ps.set_option("test.config.int.none", "abc")
  
file_path: spark/python/pyspark/pandas/tests/test_config.py
imports: from pyspark import pandas
  from pyspark.pandas import config
  from pyspark.pandas.config import Option, DictWrapper
  from pyspark.testing.pandasutils import PandasOnSparkTestCase
label_desc: Use image node_id 5 for calling the ConfigTestsMixin obj's underlying member method code with example usage: obj.test_different_types() without return types