code: def test_procrustes_shape_mismatch(self):
      assert_raises(
          ValueError,
          procrustes,
          np.array([[1, 2], [3, 4]]),
          np.array([[5, 6, 7], [8, 9, 10]]),
      )
  
file_path: scipy/scipy/spatial/tests/test__procrustes.py
imports: import numpy
  from numpy.testing import assert_allclose, assert_equal, assert_almost_equal
  from pytest import raises
  from scipy.spatial import procrustes
label_desc: Use image node_id 4 for calling the TestProcrustes obj's underlying member method code with example usage: obj.test_procrustes_shape_mismatch() without return types