code: def test_gmm_wrong_descriptor_format_2():
      """Test that DescriptorException is raised when descriptors are of
      different dimensionality.
      """
  
      with pytest.raises(DescriptorException):
          learn_gmm([np.zeros((5, 11)), np.zeros((4, 10))], n_modes=1)
  
file_path: scikit-image/skimage/feature/tests/test_fisher_vector.py
imports: import pytest
  import numpy
  from skimage.feature._fisher_vector import learn_gmm, fisher_vector, FisherVectorException, DescriptorException
label_desc: Use image node_id 2 for calling a global function with example usage: test_gmm_wrong_descriptor_format_2() without return types