code: def test_funm_error():
      with pytest.raises(ValueError):
          sqrtm(np.ones(5))
      with pytest.raises(ValueError):
          invsqrtm(5.1)
      with pytest.raises(ValueError):
          logm([5.2])
  
file_path: pyRiemann/tests/test_utils_base.py
imports: import pytest
  import numpy
  from numpy.testing import assert_array_almost_equal
  from pyriemann.utils.base import expm, invsqrtm, logm, powm, sqrtm, nearest_sym_pos_def
  from pyriemann.utils.mean import mean_riemann
  from pyriemann.utils.test import is_pos_def, is_sym_pos_def
label_desc: Use image node_id 7 for calling a global function with example usage: test_funm_error() without return types