class_docstr: ArrowDatasetTest
class_docstr_tok: ["ArrowDatasetTest"]
docstr: Test using an unsupported batch mode
code: def test_unsupported_batch_mode(self):
      """Test using an unsupported batch mode"""
      import tensorflow_io.arrow as arrow_io
  
      truth_data = TruthData(
          self.scalar_data, self.scalar_dtypes, self.scalar_shapes
      )
  
      with self.assertRaisesRegex(
          ValueError, "Unsupported batch_mode.*doh"
      ):
          arrow_io.ArrowDataset.from_record_batches(
              [self.make_record_batch(truth_data)],
              truth_data.output_types,
              truth_data.output_shapes,
              batch_mode="doh",
          )
  
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 29 for calling the ArrowDatasetTest obj's underlying member method code with example usage: obj.test_unsupported_batch_mode() without return types