code: def test_fit_ignored_init_warns(self, implementation, caplog):
      h = hmm.GaussianHMM(
          self.n_components,
          self.covariance_type,
          implementation=implementation,
      )
      h.startprob_ = self.startprob
      h.fit(self.prng.randn(100, self.n_components))
      assert len(caplog.records) == 1, caplog
      assert "will be overwritten" in caplog.records[0].getMessage()
  
imports: import numpy
  from numpy.testing import assert_allclose
  import pytest
  from sklearn.utils import check_random_state
  from ..None import hmm
  from .None import assert_log_likelihood_increasing, make_covar_matrix, normalized
label_desc: Use image node_id 7 for calling the GaussianHMMTestMixin obj's underlying member method code with example usage: obj.test_fit_ignored_init_warns(implementation, caplog) without return types