code: def test_conversion(self, input_examples, expected_output):
      record_batch = (
          decoded_examples_to_arrow.DecodedExamplesToRecordBatch(
              input_examples
          )
      )
      self.assertLen(expected_output, record_batch.num_columns)
      for feature_name, expected_arrow_array in six.iteritems(
          expected_output
      ):
          actual = arrow_util.get_column(record_batch, feature_name)
          self.assertTrue(
              expected_arrow_array.equals(actual),
              "{} vs {}".format(expected_arrow_array, actual),
          )
  
file_path: data-validation/tensorflow_data_validation/arrow/decoded_examples_to_arrow_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  import pyarrow
  import six
  from tensorflow_data_validation.arrow import arrow_util
  from tensorflow_data_validation.arrow import decoded_examples_to_arrow
label_desc: Use image node_id 2 for calling the DecodedExamplesToArrowPyTest obj's underlying member method code with example usage: obj.test_conversion(input_examples, expected_output) without return types