code: def test_zero_size(self, xp):
      shape, axis = self.shape_and_axis
      # NumPy only supports axis being an int
      if self.func in ("argmax", "argmin"):
          if axis is not None and len(axis) == 1:
              axis = axis[0]
          else:
              pytest.skip(
                  f"NumPy does not support axis={axis} for {self.func}"
              )
      # dtype is irrelevant here, just pick one
      a = testing.shaped_random(shape, xp, xp.float32, order=self.order)
      return getattr(a, self.func)(axis=axis)
  
imports: import unittest
  import numpy
  import pytest
  import cupy
  import cupy._core._accelerator
  from cupy._core import _cub_reduction
  from cupy import testing
label_desc: Use image node_id 1 for calling the TestArrayReductionZeroSize obj's underlying member method code with example usage: obj.test_zero_size(xp) and returns: getattr