code: def test_array_indexing(xp, device, shape, transpose):
      a = xp.zeros(shape=shape, dtype=chainerx.int8, device=device)
      if transpose:
          a = a.swapaxes(*transpose)
          assert not a.is_contiguous
      a += 1
      assert a.sum() == a.size
  
imports: import pytest
  import chainerx
label_desc: Use image node_id 2 for calling a global function with example usage: test_array_indexing(xp, device, shape, transpose) without return types