code: def test_invalid_value_numpy_dtype(self):
      batches = [
          pa.RecordBatch.from_arrays(
              [pa.array([[]], type=pa.list_(pa.date32()))], ["a"]
          )
      ]
      generator = basic_stats_generator.BasicStatsGenerator()
      with self.assertRaisesRegex(  # pylint: disable=g-error-prone-assert-raises
          TypeError, "Feature a has unsupported arrow type"
      ):
          self.assertCombinerOutputEqual(batches, generator, None)
  
imports: from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  import pyarrow
  from tensorflow_data_validation import types
  from tensorflow_data_validation.statistics.generators import basic_stats_generator
  from tensorflow_data_validation.utils import test_util
  from tensorflow_data_validation.utils.example_weight_map import ExampleWeightMap
  from google.protobuf import text_format
  from tensorflow_metadata.proto.v0 import schema_pb2
  from tensorflow_metadata.proto.v0 import statistics_pb2
label_desc: Use image node_id 24 for calling the BasicStatsGeneratorTest obj's underlying member method code with example usage: obj.test_invalid_value_numpy_dtype() without return types