class_docstr: Tests for LiftStatsGenerator.
class_docstr_tok: ["Tests","for","LiftStatsGenerator","."]
code: def test_lift_with_no_schema_or_x_path(self):
      with self.assertRaisesRegex(
          ValueError, r"Either a schema or x_paths must be provided"
      ):
          lift_stats_generator.LiftStatsGenerator(
              schema=None, 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 3 for calling the LiftStatsGeneratorTest obj's underlying member method code with example usage: obj.test_lift_with_no_schema_or_x_path() without return types