def test_normaltest(self):
        np.seterr(over='raise')
        for n in self.get_n():
            if 8 > n:
                with warnings.catch_warnings():
                    warnings.filterwarnings('ignore', category=UserWarning)
                    x, y, xm, ym = self.generate_xy_sample(n)
                    r = stats.normaltest(x)
                    rm = stats.mstats.normaltest(xm)
                    assert_allclose(np.asarray(r), np.asarray(rm))
dataset/ETHPy150Open scipy/scipy/scipy/stats/tests/test_mstats_basic.py/TestCompareWithStats.test_normaltest/swapped operands of `>`