code: def test_boolean_mask(self):
      dates = dateslib.dates_from_tuples(
          [(2019, 3, 25), (2020, 1, 2), (2019, 1, 2)]
      )
      mask = [True, False, True]
      expected = dateslib.DateTensor.stack((dates[0], dates[2]))
      self.assert_date_tensor_equals(expected, dates.boolean_mask(mask))
  
imports: import datetime
  import numpy
  import tensorflow.compat.v2
  import tf_quant_finance
  from tf_quant_finance.datetime import test_data
  from tensorflow.python.framework import test_util
label_desc: Use image node_id 25 for calling the DateTensorTest obj's underlying member method code with example usage: obj.test_boolean_mask() without return types