code: def test_posthoc_tukey(self):
      r_results = np.array(
          [
              [1, 3.042955e-01, 4.308631e-10],
              [3.042955e-01, 1, 9.946571e-08],
              [4.308631e-10, 9.946571e-08, 1],
          ]
      )
  
      results = sp.posthoc_tukey(
          self.df.sort_index(), val_col="pulse", group_col="kind"
      )
      self.assertTrue(np.allclose(results, r_results, atol=1.0e-3))
  
imports: import os
  import sys
  import unittest
  import matplotlib
  import scikit_posthocs._posthocs
  import scikit_posthocs._omnibus
  import scikit_posthocs._outliers
  import scikit_posthocs._plotting
  import scikit_posthocs._global
  import seaborn
  import numpy
  import matplotlib.axes
  from pandas import DataFrame, Series
label_desc: Use image node_id 48 for calling the TestPosthocs obj's underlying member method code with example usage: obj.test_posthoc_tukey() without return types