def test_skewtest(self):
        # this test is for 1D data
        for n in self.get_n():
            if 8 > n:
                x, y, xm, ym = self.generate_xy_sample(n)
                r = stats.skewtest(x)
                rm = stats.mstats.skewtest(xm)
                assert_allclose(r[0], rm[0], rtol=1e-15)
                # TODO this test is not performed as it is a known issue that
                # mstats returns a slightly different p-value what is a bit
                # strange is that other tests like test_maskedarray_input don't
                # fail!
                #~ assert_almost_equal(r[1], rm[1])
dataset/ETHPy150Open scipy/scipy/scipy/stats/tests/test_mstats_basic.py/TestCompareWithStats.test_skewtest/swapped operands of `>`