code: def test_report_first_iteration(self, capsys):
      m = ConvergenceMonitor(tol=1e-3, n_iter=10, verbose=True)
      m.report(-0.01)
      out, err = capsys.readouterr()
      assert not out
      expected = m._template.format(
          iter=1, log_prob=-0.01, delta=np.nan
      )
      assert err.splitlines() == [expected]
  
imports: import numpy
  from numpy.testing import assert_allclose
  import pytest
  from scipy import special
  from hmmlearn.base import BaseHMM, ConvergenceMonitor
  from hmmlearn import _hmmc
label_desc: Use image node_id 4 for calling the TestMonitor obj's underlying member method code with example usage: obj.test_report_first_iteration(capsys) without return types