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