code: def test_converters(self):
      # use of custom converters
      basepath = self.tempdir.name
      data = [(1, {3.0: "bb"}), (2, {1.0: "aa"}), (3, {2.0: "dd"})]
      self.sc.parallelize(data).saveAsNewAPIHadoopFile(
          basepath + "/converters/",
          "org.apache.hadoop.mapreduce.lib.output.SequenceFileOutputFormat",
          keyConverter="org.apache.spark.api.python.TestOutputKeyConverter",
          valueConverter="org.apache.spark.api.python.TestOutputValueConverter",
      )
      converted = sorted(
          self.sc.sequenceFile(basepath + "/converters/").collect()
      )
      expected = [("1", 3.0), ("2", 1.0), ("3", 2.0)]
      self.assertEqual(converted, expected)
  
imports: import os
  import shutil
  import tempfile
  import unittest
  from pyspark.testing.utils import ReusedPySparkTestCase, SPARK_HOME
label_desc: Use image node_id 7 for calling the OutputFormatTests obj's underlying member method code with example usage: obj.test_converters() without return types