class_docstr: Tests for LiftStatsGenerator.
class_docstr_tok: ["Tests","for","LiftStatsGenerator","."]
code: def test_lift_int_y_with_no_boundaries(self):
      schema = text_format.Parse(
          """
          feature {
            name: 'categorical_x'
            type: BYTES
          }
          feature {
            name: 'int_y'
            type: INT
          }
          """,
          schema_pb2.Schema(),
      )
      with self.assertRaisesRegex(
          ValueError,
          r"Boundaries must be provided with a non-"
          "categorical y_path.*",
      ):
          lift_stats_generator.LiftStatsGenerator(
              schema=schema, y_path=types.FeaturePath(["int_y"])
          )
  
imports: from typing import Optional, Sequence, Text
  from absl.testing import absltest
  import apache_beam
  import numpy
  import pandas
  import pyarrow
  from tensorflow_data_validation import types
  from tensorflow_data_validation.statistics.generators import lift_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 2 for calling the LiftStatsGeneratorTest obj's underlying member method code with example usage: obj.test_lift_int_y_with_no_boundaries() without return types