code: def test_mismatched_observations():
      with pytest.raises(ValueError):
          Invt_model = InvertedEncoding1D()
          Invt_model.fit(X, y[:-50])
  
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 38 for calling a global function with example usage: test_mismatched_observations() without return types