code: def test_pmf(self):
      n, p = zinegbin.convert_params(1, 0.9, 1)
      nb_logpmf = nbinom.pmf(2, n, p)
      tnb_pmf = zinegbin.pmf(2, 1, 0.9, 2, 0.5)
      assert_allclose(nb_logpmf, tnb_pmf * 2, rtol=1e-7)
  
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 7 for calling the TestZiNBP obj's underlying member method code with example usage: obj.test_pmf() without return types