code: def test_functions_error():
      n_matrices, n_dim, class_sep, class_disp = 5, 4, 2.0, 1.0
      with pytest.raises(ValueError):  # n_matrices is not an integer
          make_gaussian_blobs(
              n_matrices=float(n_matrices),
              n_dim=n_dim,
              class_sep=class_sep,
              class_disp=class_disp,
          )
      with pytest.raises(ValueError):  # n_matrices is negative
          make_gaussian_blobs(
              n_matrices=-n_matrices,
              n_dim=n_dim,
              class_sep=class_sep,
              class_disp=class_disp,
          )
      with pytest.raises(TypeError):  # n_dim is not an integer
          make_gaussian_blobs(
              n_matrices=n_matrices,
              n_dim=float(n_dim),
              class_sep=class_sep,
              class_disp=class_disp,
          )
      with pytest.raises(ValueError):  # n_dim is negative
          make_gaussian_blobs(
              n_matrices=n_matrices,
              n_dim=-n_dim,
              class_sep=class_sep,
              class_disp=class_disp,
          )
      with pytest.raises(ValueError):  # class_sep is not a scalar
          make_gaussian_blobs(
              n_matrices=n_matrices,
              n_dim=n_dim,
              class_sep=class_sep * np.ones(n_dim),
              class_disp=class_disp,
          )
      with pytest.raises(ValueError):  # class_disp is not a scalar
          make_gaussian_blobs(
              n_matrices=n_matrices,
              n_dim=n_dim,
              class_sep=class_sep,
              class_disp=class_disp * np.ones(n_dim),
          )
  
file_path: pyRiemann/tests/test_simulated.py
imports: import pytest
  import numpy
  from numpy.testing import assert_array_almost_equal
  from pyriemann.datasets.sampling import generate_random_spd_matrix
  from pyriemann.datasets.simulated import make_covariances, make_matrices, make_masks, make_gaussian_blobs, make_outliers
  from pyriemann.utils.test import is_real, is_sym_pos_def, is_sym_pos_semi_def, is_herm_pos_def, is_herm_pos_semi_def
label_desc: Use image node_id 7 for calling a global function with example usage: test_functions_error() without return types