class_docstr: Test multicomp.py.
docstr: Test function multicomp
code: def test_multicomp(self):
      """Test function multicomp"""
      reject, pvals_corr = multicomp(pvals, method="fdr_bh")
      reject, pvals_corr = multicomp(pvals, method="fdr_by")
      reject, pvals_corr = multicomp(pvals, method="h")
      reject, pvals_corr = multicomp(pvals, method="b")
      reject, pvals_corr = multicomp(pvals, method="sidak")
      reject, pvals_corr = multicomp(pvals, method="none")
      assert_array_equal(pvals, pvals_corr)
      reject, pvals_corr = multicomp(pvals2, method="holm")
      # Wrong arguments
      with pytest.raises(ValueError):
          reject, pvals_corr = multicomp(pvals, method="wrong")
  
file_path: pingouin/pingouin/tests/test_multicomp.py
imports: import pytest
  import numpy
  from numpy.testing import assert_array_almost_equal, assert_array_equal
  from unittest import TestCase
  from pingouin.multicomp import fdr, bonf, holm, sidak, multicomp
label_desc: Use image node_id 5 for calling the TestMulticomp obj's underlying member method code with example usage: obj.test_multicomp() without return types