code: def test_fit_works_on_sequences_of_different_length(self):
      lengths = [3, 4, 5]
      X = self.prng.rand(sum(lengths), self.n_features)
  
      h = hmm.GMMHMM(
          self.n_components, covariance_type=self.covariance_type
      )
      # This shouldn't raise
      # ValueError: setting an array element with a sequence.
      h.fit(X, lengths=lengths)
  
imports: import numpy
  from numpy.testing import assert_allclose
  import pytest
  from sklearn.mixture import GaussianMixture
  from sklearn.utils import check_random_state
  from hmmlearn import hmm
  from .None import assert_log_likelihood_increasing, make_covar_matrix, normalized
label_desc: Use image node_id 5 for calling the GMMHMMTestMixin obj's underlying member method code with example usage: obj.test_fit_works_on_sequences_of_different_length() without return types