code: def test_normalize_axis_tuple():
      assert normalize_axis_tuple(-1, 3) == (2,)
      assert normalize_axis_tuple([0, -2], 3) == (0, 1)
      assert sorted(normalize_axis_tuple({0, -2}, 3)) == [0, 1]
  
      with pytest.raises(ValueError) as cm:
          normalize_axis_tuple((1, -2), 3, argname="axes")
      assert "axes" in str(cm.value)
  
      with pytest.raises(ValueError):
          normalize_axis_tuple((1, -2), 3)
  
file_path: mars/mars/tensor/tests/test_utils.py
imports: import numpy
  import pytest
  from ...None import tensor
  from ...lib.mmh3 import hash_from_buffer
  from ..utils import hash_on_axis, normalize_axis_tuple, fetch_corner_data
label_desc: Use image node_id 2 for calling a global function with example usage: test_normalize_axis_tuple() without return types