code: def test_block_covariances_int_value_error(rndstate):
      """Test BlockCovariances error"""
      n_matrices, n_channels, n_times = 2, 12, 100
      x = rndstate.randn(n_matrices, n_channels, n_times)
      cov = BlockCovariances(block_size=5)
      with pytest.raises(ValueError):
          cov.fit_transform(x)
  
imports: import numpy
  from numpy.testing import assert_array_almost_equal, assert_array_equal, assert_raises
  import pytest
  from pyriemann.estimation import Covariances, ERPCovariances, XdawnCovariances, CospCovariances, HankelCovariances, Coherences, Shrinkage, BlockCovariances, Kernels
  from pyriemann.utils.test import is_sym_pos_def, is_sym_pos_semi_def
label_desc: Use image node_id 11 for calling a global function with example usage: test_block_covariances_int_value_error(rndstate) without return types