code: def test_kendalltau_correlation():
      A = np.ones(shape=[2, 2])
  
      A2 = kendalltau_correlation(X, weighted=False)
      assert_array_almost_equal(A, A2, decimal=3)
  
      A3 = kendalltau_correlation(X, weighted=True)
      assert_array_almost_equal(A, A3, decimal=3)
  
imports: import numpy
  from sklearn.utils._testing import assert_array_almost_equal
  from inverse_covariance.rank_correlation import _compute_ranks, spearman_correlation, kendalltau_correlation
label_desc: Use image node_id 3 for calling a global function with example usage: test_kendalltau_correlation() without return types