code: def new_hmm(self, impl):
      h = hmm.PoissonHMM(
          self.n_components, implementation=impl, random_state=0
      )
      h.startprob_ = np.array([0.6, 0.4])
      h.transmat_ = np.array([[0.7, 0.3], [0.4, 0.6]])
      h.lambdas_ = np.array([[3.1, 1.4, 4.5], [1.6, 5.3, 0.1]])
      return h
  
file_path: hmmlearn/lib/hmmlearn/tests/test_poisson_hmm.py
imports: import numpy
  from numpy.testing import assert_allclose
  import pytest
  from sklearn.utils import check_random_state
  from hmmlearn import hmm
  from .None import assert_log_likelihood_increasing, normalized
label_desc: Use image node_id 1 for calling the TestPoissonHMM obj's underlying member method code with example usage: obj.new_hmm(impl) and returns: h