code: def test_array_negative_indices():
      for ArrayType in array_types:
          test_array = ArrayType([[1, 2, 3, 4, 5], [6, 7, 8, 9, 10]])
          assert test_array[:, -1] == Array([5, 10])
          assert test_array[:, -2] == Array([4, 9])
          assert test_array[:, -3] == Array([3, 8])
          assert test_array[:, -4] == Array([2, 7])
          assert test_array[:, -5] == Array([1, 6])
          assert test_array[:, 0] == Array([1, 6])
          assert test_array[:, 1] == Array([2, 7])
          assert test_array[:, 2] == Array([3, 8])
          assert test_array[:, 3] == Array([4, 9])
          assert test_array[:, 4] == Array([5, 10])
  
          raises(ValueError, lambda: test_array[:, -6])
          raises(ValueError, lambda: test_array[-3, :])
  
          assert test_array[-1, -1] == 10
  
file_path: sympy/sympy/tensor/array/tests/test_ndim_array.py
imports: from sympy.testing.pytest import raises
  from sympy.functions.elementary.trigonometric import sin, cos
  from sympy.matrices.dense import Matrix
  from sympy.simplify import simplify
  from sympy.tensor.array import Array
  from sympy.tensor.array.dense_ndim_array import ImmutableDenseNDimArray, MutableDenseNDimArray
  from sympy.tensor.array.sparse_ndim_array import ImmutableSparseNDimArray, MutableSparseNDimArray
  from sympy.abc import x, y
label_desc: Use image node_id 1 for calling a global function with example usage: test_array_negative_indices() without return types