code: def test_int_check():
      # integer values are required only if method="binom_test"
      with pytest.raises(ValueError):
          proportion_confint(10.5, 20, method="binom_test")
      with pytest.raises(ValueError):
          proportion_confint(10, 20.5, method="binom_test")
      with pytest.raises(ValueError):
          proportion_confint(np.array([10.3]), 20, method="binom_test")
  
      a = proportion_confint(21.0, 47, method="binom_test")
      b = proportion_confint(21, 47, method="binom_test")
      c = proportion_confint(21, 47.0, method="binom_test")
      assert_allclose(a, b)
      assert_allclose(a, c)
  
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 25 for calling a global function with example usage: test_int_check() without return types