code: def test_moments(self):
      poisson_m1, poisson_m2 = poisson.moment(1, 12), poisson.moment(
          2, 12
      )
      zip_m0 = zipoisson.moment(0, 12, 0)
      zip_m1 = zipoisson.moment(1, 12, 0)
      zip_m2 = zipoisson.moment(2, 12, 0)
      assert_allclose(1, zip_m0, rtol=1e-10)
      assert_allclose(poisson_m1, zip_m1, rtol=1e-10)
      assert_allclose(poisson_m2, zip_m2, rtol=1e-10)
  
imports: import numpy
  from numpy.testing import assert_allclose, assert_equal
  from scipy import stats
  from scipy.stats import poisson, nbinom
  from statsmodels.tools.tools import Bunch
  from statsmodels.distributions.discrete import genpoisson_p, truncatedpoisson, truncatednegbin, zipoisson, zinegbin, zigenpoisson, DiscretizedCount, DiscretizedModel
label_desc: Use image node_id 8 for calling the TestZIPoisson obj's underlying member method code with example usage: obj.test_moments() without return types