code: def test_orthogonal_procrustes_shape_mismatch():
      np.random.seed(1234)
      shapes = ((3, 3), (3, 4), (4, 3), (4, 4))
      for a, b in permutations(shapes, 2):
          A = np.random.randn(*a)
          B = np.random.randn(*b)
          assert_raises(ValueError, orthogonal_procrustes, A, B)
  
file_path: catboost/contrib/python/scipy/py2/scipy/linalg/tests/test_procrustes.py
imports: from itertools import product, permutations
  import numpy
  from numpy.testing import assert_array_less, assert_allclose
  from pytest import raises
  from scipy.linalg import inv, eigh, norm
  from scipy.linalg import orthogonal_procrustes
  from scipy.sparse.sputils import matrix
label_desc: Use image node_id 3 for calling a global function with example usage: test_orthogonal_procrustes_shape_mismatch() without return types