code: def _make_indices(self, xp, dtype=None):
      indices = []
      for ind in self.indices:
          if isinstance(ind, slice):
              indices.append(ind)
          else:
              indices.append(xp.array(ind, dtype=dtype))
  
      return tuple(indices)
  
imports: import functools
  import itertools
  import numpy
  import pytest
  import cupy
  import cupyx
  from cupy import testing
  from cupy.cuda import runtime
  from cupyx.scipy import sparse
label_desc: Use image node_id 2 for calling the IndexingTestBase obj's underlying member method code with example usage: obj._make_indices(xp, dtype) and returns: tuple