code: def test_kendall_tau_assert_all_ties_y_pred(self):
      with self.assertRaises(
          (ValueError, tf.errors.InvalidArgumentError)
      ):
          self.evaluate(kendalls_tau.kendalls_tau([1, 2, 3], [4, 4, 4]))
  
file_path: probability/tensorflow_probability/python/stats/kendalls_tau_test.py
imports: import random
  from scipy import stats
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.stats import kendalls_tau
label_desc: Use image node_id 5 for calling the KendallsTauTest obj's underlying member method code with example usage: obj.test_kendall_tau_assert_all_ties_y_pred() without return types