code: def test_kendall_random_lists(self):
      left = [1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 6, 7, 8, 9]
      for _ in range(10):
          right = random.sample(left, len(left))
          expected = stats.kendalltau(left, right)[0]
          res = self.evaluate(
              kendalls_tau.kendalls_tau(
                  tf.constant(left, tf.float32),
                  tf.constant(right, tf.float32),
              )
          )
          self.assertAllClose(expected, res, atol=1e-5)
  
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 3 for calling the KendallsTauTest obj's underlying member method code with example usage: obj.test_kendall_random_lists() without return types