code: def test_slerp_call_time_dim_mismatch():
      np.random.seed(0)
      r = Rotation.from_quat(np.random.uniform(size=(5, 4)))
      t = np.arange(5)
      s = Slerp(t, r)
  
      with pytest.raises(
          ValueError,
          match="times to be specified in a 1 dimensional array",
      ):
          interp_times = np.array([[3.5], [4.2]])
          s(interp_times)
  
imports: from __future__ import division, print_function, absolute_import
  import pytest
  import numpy
  from numpy.testing import assert_equal, assert_array_almost_equal
  from numpy.testing import assert_allclose
  from scipy.spatial.transform import Rotation, Slerp
  from scipy.stats import special_ortho_group
  from itertools import permutations
label_desc: Use image node_id 58 for calling a global function with example usage: test_slerp_call_time_dim_mismatch() without return types