class_docstr: ArrowDatasetTest
class_docstr_tok: ["ArrowDatasetTest"]
docstr: Test batching with variable length lists raises error
code: def test_batch_variable_length_list_batched(self):
      """Test batching with variable length lists raises error"""
      import tensorflow_io.arrow as arrow_io
  
      batch_size = len(self.list_var_data[1])
  
      truth_data = TruthData(
          self.list_var_data, self.list_var_dtypes, self.list_var_shapes
      )
  
      batch = self.make_record_batch(truth_data)
  
      dataset = arrow_io.ArrowDataset.from_record_batches(
          [batch],
          truth_data.output_types,
          truth_data.output_shapes,
          batch_size=batch_size,
      )
  
      with self.assertRaisesRegex(
          tf.errors.OpError, "variable.*unsupported"
      ):
          self.run_test_case(dataset, truth_data, batch_size=batch_size)
  
imports: from collections import namedtuple
  import io
  import os
  import socket
  import tempfile
  import threading
  import pytest
  import pyarrow
  import numpy.testing
  import tensorflow
  import tensorflow_io
label_desc: Use image node_id 27 for calling the ArrowDatasetTest obj's underlying member method code with example usage: obj.test_batch_variable_length_list_batched() without return types