code: def test_proptest(self):
      # equality of k-samples
      pt = smprop.proportions_chisquare(
          self.n_success, self.nobs, value=None
      )
      assert_almost_equal(
          pt[0], self.res_prop_test.statistic, decimal=13
      )
      assert_almost_equal(pt[1], self.res_prop_test.p_value, decimal=13)
  
      # several against value
      pt = smprop.proportions_chisquare(
          self.n_success,
          self.nobs,
          value=self.res_prop_test_val.null_value[0],
      )
      assert_almost_equal(
          pt[0], self.res_prop_test_val.statistic, decimal=13
      )
      assert_almost_equal(
          pt[1], self.res_prop_test_val.p_value, decimal=13
      )
  
      # one proportion against value
      pt = smprop.proportions_chisquare(
          self.n_success[0],
          self.nobs[0],
          value=self.res_prop_test_1.null_value,
      )
      assert_almost_equal(
          pt[0], self.res_prop_test_1.statistic, decimal=13
      )
      assert_almost_equal(
          pt[1], self.res_prop_test_1.p_value, decimal=13
      )
  
imports: import warnings
  import numpy
  from numpy.testing import assert_allclose, assert_almost_equal, assert_array_less, assert_equal, assert_raises
  import pandas
  import pytest
  import statsmodels.stats.proportion
  from statsmodels.stats.proportion import confint_proportions_2indep, multinomial_proportions_confint, power_proportions_2indep, proportion_confint, samplesize_proportions_2indep_onetail, score_test_proportions_2indep
  from statsmodels.tools.sm_exceptions import HypothesisTestWarning
  from statsmodels.tools.testing import Holder
  from statsmodels.stats.tests.results.results_proportion import res_binom, res_binom_methods
label_desc: Use image node_id 1 for calling the CheckProportionMixin obj's underlying member method code with example usage: obj.test_proptest() without return types