code: def test_axis_valid(axis):
      with pytest.raises(ValueError, match="`axis` must be one of"):
          Rotation.create_group("C1", axis)
  
imports: import pytest
  import numpy
  from numpy.testing import assert_array_almost_equal
  from scipy.spatial.transform import Rotation
  from scipy.optimize import linear_sum_assignment
  from scipy.spatial.distance import cdist
  from scipy.constants import golden
  from scipy.spatial import cKDTree
label_desc: Use image node_id 10 for calling a global function with example usage: test_axis_valid(axis) without return types