code: def test_value_indices_noncontiguous_labels(
      self,
      dtype,
      ignore_value,
  ):
      if sys.platform == "win32" and dtype in (cupy.intc, cupy.uintc):
          pytest.skip()  # https://github.com/scipy/scipy/issues/19423
      image = self._make_image(self.shape, cupy, dtype, scale=8)
  
      # Make introduce gaps in the labels present in the image
      image[cupy.logical_and(image > 2, image < 7)] = 0
  
      self._compare_scipy_cupy(image, ignore_value, False)
  
imports: import sys
  import warnings
  import numpy
  import pytest
  import cupy
  from cupy.cuda import runtime
  from cupy import testing
  from cupy import _util
  from cupy._core import _accelerator
  import cupyx.scipy.ndimage
label_desc: Use image node_id 4 for calling the TestValueIndices obj's underlying member method code with example usage: obj.test_value_indices_noncontiguous_labels(dtype, ignore_value) without return types