code: def test_two_level_glm_error():
      # this tests whether two_level_glm raises a value error if the
      # design matrix has more regressors than the number of
      # observations
      X = np.random.normal(0, 1, size=(10, 11))
      y = np.random.normal(0, 1, size=(10, 5))
      vy = np.zeros((10, 5))
      pytest.raises(ValueError, two_level_glm, y, vy, X)
  
file_path: nipy/nipy/algorithms/statistics/tests/test_mixed_effects.py
imports: import numpy
  import numpy.random
  import pytest
  from numpy.testing import assert_almost_equal, assert_array_almost_equal
  from ..bayesian_mixed_effects import two_level_glm
  from ..mixed_effects_stat import generate_data, mfx_stat, one_sample_ftest, one_sample_ttest, t_stat, two_sample_ftest, two_sample_ttest
label_desc: Use image node_id 9 for calling a global function with example usage: test_two_level_glm_error() without return types