code: def test_boxcox1p_nonfinite(self):
      boxcox1p = cupyx.scipy.special.boxcox1p
      assert float(boxcox1p(-1, -5)) == -numpy.inf
      assert numpy.isnan(float(boxcox1p(-1.1, 5)))
  
imports: import numpy
  import pytest
  import cupy
  from cupy import testing
  import cupyx.scipy.special
label_desc: Use image node_id 9 for calling the TestSpecial obj's underlying member method code with example usage: obj.test_boxcox1p_nonfinite() without return types