code: def test_approximateone_sided_x_greater_y():
      p = permutation_test(
          treatment,
          control,
          func=lambda x, y: np.mean(x) - np.mean(y),
          method="approximate",
          num_rounds=5000,
          seed=123,
      )
      assert round(p, 3) == 0.031, p
  
file_path: mlxtend/mlxtend/evaluate/tests/test_permutation.py
imports: import numpy
  from mlxtend.evaluate import permutation_test
  from mlxtend.utils import assert_raises
label_desc: Use image node_id 5 for calling a global function with example usage: test_approximateone_sided_x_greater_y() without return types