code: def test_holidays_raise_error(self, holidays):
      times = pd.date_range(
          start="2013-12-20",
          end="2015-12-20",
          freq=pd.DateOffset(years=1),
      )
      with self.assertRaises(ValueError):
          holiday_effects.create_holiday_regressors(times, holidays)
  
file_path: probability/tensorflow_probability/python/sts/holiday_effects_test.py
imports: from absl.testing import parameterized
  import pandas
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.sts import holiday_effects
label_desc: Use image node_id 4 for calling the HolidayEffectsTest obj's underlying member method code with example usage: obj.test_holidays_raise_error(holidays) without return types