code: def test_providing_holidays(
      self, holidays, convert_to_date_tensor=False
  ):
      if convert_to_date_tensor:
          holidays = dates.convert_to_date_tensor(holidays)
      cal = self.impl(
          weekend_mask=dates.WeekendMask.SATURDAY_SUNDAY,
          holidays=holidays,
      )
      date_tensor = dates.dates_from_tuples(
          [
              (2020, 1, 1),
              (2020, 5, 1),
              (2020, 12, 25),
              (2021, 3, 8),
              (2021, 1, 1),
          ]
      )
      self.assertAllEqual(
          [False, True, False, True, False],
          cal.is_business_day(date_tensor),
      )
  
imports: import datetime
  import functools
  from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v2
  import tf_quant_finance
  from tf_quant_finance.datetime import bounded_holiday_calendar
  from tf_quant_finance.datetime import test_data
  from tf_quant_finance.datetime import unbounded_holiday_calendar
  from tensorflow.python.framework import test_util
label_desc: Use image node_id 1 for calling the HolidayCalendarTest obj's underlying member method code with example usage: obj.test_providing_holidays(holidays, convert_to_date_tensor) without return types