code: def test_cdflink(m, link1, link2):
      p = CasesCDFLink.p
      res1 = getattr(link1, m)(p)
      res2 = getattr(link2, m)(p)
  
      assert_allclose(res1, res2, atol=1e-8, rtol=1e-8)
  
file_path: statsmodels/statsmodels/genmod/families/tests/test_link.py
imports: import numpy
  from numpy.testing import assert_allclose, assert_equal, assert_array_less
  from scipy import stats
  import pytest
  import statsmodels.genmod.families
  from statsmodels.tools import numdiff
label_desc: Use image node_id 8 for calling a global function with example usage: test_cdflink(m, link1, link2) without return types