docstr: Tests bad initialization values.
docstr_tok: ["Tests","bad","initialization","values","."]
code: def test_time_stats_generator_invalid_initialization_values(self):
      """Tests bad initialization values."""
      with self.assertRaises(ValueError) as context:
          time_stats_generator.TimeStatsGenerator(values_threshold=0)
          self.assertIn(
              "TimeStatsGenerator expects a values_threshold > 0, got 0.",
              str(context.exception),
          )
  
          time_stats_generator.TimeStatsGenerator(match_ratio=1.1)
          self.assertIn(
              "TimeStatsGenerator expects a match_ratio in (0, 1].",
              str(context.exception),
          )
  
          time_stats_generator.TimeStatsGenerator(match_ratio=0)
          self.assertIn(
              "TimeStatsGenerator expects a match_ratio in (0, 1].",
              str(context.exception),
          )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from unittest import mock
  from absl.testing import absltest
  from absl.testing import parameterized
  import pyarrow
  from tensorflow_data_validation import types
  from tensorflow_data_validation.statistics.generators import time_stats_generator
  from tensorflow_data_validation.utils import test_util
  from tensorflow_metadata.proto.v0 import schema_pb2
  from tensorflow_metadata.proto.v0 import statistics_pb2
label_desc: Use image node_id 1 for calling the TimeStatsGeneratorTest obj's underlying member method code with example usage: obj.test_time_stats_generator_invalid_initialization_values() without return types