code: def test_gmm_wrong_covariance_type():
      """Test that FisherVectorException is raised when wrong covariance type is
      passed in as a keyword argument.
      """
  
      with pytest.raises(FisherVectorException):
          learn_gmm(
              np.random.random((10, 10)),
              n_modes=2,
              gm_args={"covariance_type": "full"},
          )
  
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 7 for calling a global function with example usage: test_gmm_wrong_covariance_type() without return types