code: def test_generate_equi_width_buckets(
      self,
      quantiles,
      cumulative_counts,
      finite_min,
      finite_max,
      num_buckets,
      num_pos_inf,
      expected_buckets,
  ):
      quantiles = np.array(quantiles).astype(float)
      cumulative_counts = np.array(cumulative_counts).astype(float)
      standard_hist = quantiles_util.generate_equi_width_histogram(
          quantiles,
          cumulative_counts,
          finite_min,
          finite_max,
          num_buckets,
          num_pos_inf,
      )
      _assert_buckets_almost_equal(
          self, standard_hist.buckets, expected_buckets
      )
  
imports: from typing import List
  from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  from tensorflow_data_validation.utils import quantiles_util
  from google.protobuf import text_format
  from tensorflow_metadata.proto.v0 import statistics_pb2
label_desc: Use image node_id 1 for calling the GenerateEquiWidthBucketsTest obj's underlying member method code with example usage: obj.test_generate_equi_width_buckets(quantiles, cumulative_counts, finite_min, finite_max, num_buckets, num_pos_inf, expected_buckets) without return types