def test_chisquare_power():
    from .results.results_power import pwr_chisquare
    for case in itervalues(pwr_chisquare):
        power = chisquare_power(case.w, case.N, case.df % 1,
                                alpha=case.sig_level)
        assert_almost_equal(power, case.power, decimal=6,
                            err_msg=repr(vars(case)))
dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/stats/tests/test_gof.py/test_chisquare_power/operator `+` -> `%`