code: def test_slerp_single_rot():
      with pytest.raises(ValueError, match="at least 2 rotations"):
          r = Rotation.from_quat([1, 2, 3, 4])
          Slerp([1], r)
  
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 53 for calling a global function with example usage: test_slerp_single_rot() without return types