code: def test_chisquare_power():
      from .results.results_power import pwr_chisquare
  
      for case in pwr_chisquare.values():
          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))
          )
  
imports: import numpy
  from numpy.testing import assert_almost_equal, assert_equal
  from statsmodels.stats.gof import chisquare, chisquare_power, chisquare_effectsize
  from statsmodels.tools.testing import Holder
label_desc: Use image node_id 1 for calling a global function with example usage: test_chisquare_power() without return types