code: def test_custom_weekend_mask(self):
      weekend_mask = [
          0,
          0,
          0,
          0,
          1,
          0,
          1,
      ]  # Work Saturdays instead of Fridays.
      cal = self.impl(
          start_year=2020, end_year=2021, weekend_mask=weekend_mask
      )
      date_tensor = dates.dates_from_tuples(
          [
              (2020, 1, 2),
              (2020, 1, 3),
              (2020, 1, 4),
              (2020, 1, 5),
              (2020, 1, 6),
              (2020, 5, 1),
              (2020, 5, 2),
          ]
      )
      self.assertAllEqual(
          [True, False, True, False, True, False, True],
          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 2 for calling the HolidayCalendarTest obj's underlying member method code with example usage: obj.test_custom_weekend_mask() without return types