code: def test_data(arr, args, ret):
      from sys import byteorder
  
      assert all(m.data_t(arr, *args) == ret)
      assert all(
          m.data(arr, *args)[(0 if byteorder == "little" else 1) :: 2]
          == ret
      )
      assert all(
          m.data(arr, *args)[(1 if byteorder == "little" else 0) :: 2]
          == 0
      )
  
imports: import pytest
  import env
  from pybind11_tests import numpy_array
label_desc: Use image node_id 6 for calling a global function with example usage: test_data(arr, args, ret) without return types