code: def test_index_offset(arr, args, ret):
      from pybind11_tests.array import (
          index_at,
          index_at_t,
          offset_at,
          offset_at_t,
      )
  
      assert index_at(arr, *args) == ret
      assert index_at_t(arr, *args) == ret
      assert offset_at(arr, *args) == ret * arr.dtype.itemsize
      assert offset_at_t(arr, *args) == ret * arr.dtype.itemsize
  
file_path: turicreate/src/external/coremltools_wrap/coremltools/deps/pybind11/tests/test_numpy_array.py
imports: import pytest
label_desc: Use image node_id 3 for calling a global function with example usage: test_index_offset(arr, args, ret) without return types