code: def test_xlogy_zeros(self, xp, scp, dtype, function):
      # only test with values > 0 to avoid NaNs
      x = xp.zeros((1, 100), dtype=dtype)
      y = xp.linspace(-10, 10, 100, dtype=dtype)
      if y.dtype.kind == "c":
          y += 1j * y
      return getattr(scp.special, function)(x, y)
  
imports: import math
  import cupy
  import numpy
  import pytest
  import cupyx.scipy.special
  from cupy import testing
  from cupy.testing import assert_array_equal, assert_array_almost_equal
  from cupy.testing import numpy_cupy_allclose
label_desc: Use image node_id 7 for calling the TestBasic obj's underlying member method code with example usage: obj.test_xlogy_zeros(xp, scp, dtype, function) and returns: getattr