code: def test_attributes(self, implementation):
      with pytest.raises(ValueError):
          h = self.new_hmm(implementation)
          h.lambdas_ = []
          h._check()
      with pytest.raises(ValueError):
          h.lambdas_ = np.zeros(
              (self.n_components - 2, self.n_features)
          )
          h._check()
  
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 2 for calling the TestPoissonHMM obj's underlying member method code with example usage: obj.test_attributes(implementation) without return types