code: def test_smart_array_index_normal():
      arr = np.array([[1, 2], [3, 4], [5, 6]])
      _check_smart_index(arr, np.array([1]))
      _check_smart_index(arr, np.array([2, 1, 0]))
      _check_smart_index(arr, np.array([[0, 2], [0, 0]]))
  
      with pytest.raises(IndexError, match="index 6 is out of bounds"):
          smart_array_index(arr, np.array([6], dtype=int))
  
      with pytest.raises(IndexError, match="index -6 is out of bounds"):
          smart_array_index(arr, np.array([-6], dtype=int))
  
file_path: stellargraph/tests/core/test_utils.py
imports: import pytest
  import numpy
  from stellargraph.core.utils import *
  from ..test_utils import flaky_xfail_mark
  from ..test_utils.graphs import example_graph_random
label_desc: Use image node_id 4 for calling a global function with example usage: test_smart_array_index_normal() without return types