code: def test_no_runtime_warnings_close_to_max_int(self):
      # input has batches with values that are slightly smaller than the maximum
      # integer value.
      less_than_max_int_value = np.iinfo(np.int64).max - 1
      batches = [
          pa.RecordBatch.from_arrays(
              [pa.array([[less_than_max_int_value]])], ["a"]
          )
      ] * 2
      generator = basic_stats_generator.BasicStatsGenerator()
      old_nperr = np.geterr()
      np.seterr(over="raise")
      accumulators = [
          generator.add_input(generator.create_accumulator(), batch)
          for batch in batches
      ]
      generator.merge_accumulators(accumulators)
      np.seterr(**old_nperr)
  
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 6 for calling the BasicStatsGeneratorTest obj's underlying member method code with example usage: obj.test_no_runtime_warnings_close_to_max_int() without return types