code: def test_extra_data_dimensions():
      with pytest.raises(ValueError):
          n, dim1, dim2 = 300, 3, 3
          X = np.random.rand(n // 3, dim1, dim2)
          Invt_model = InvertedEncoding1D()
          Invt_model.fit(X, y)
  
imports: import pytest
  import numpy
  import logging
  from brainiak.reconstruct.iem import InvertedEncoding1D, InvertedEncoding2D
  from brainiak.utils.fmrisim import generate_1d_gaussian_rfs, generate_1d_rf_responses
  from scipy.stats import circmean
label_desc: Use image node_id 37 for calling a global function with example usage: test_extra_data_dimensions() without return types