code: def test_lpmv_basic(self):
      # specific values tested in the SciPy test suite
      scp = cupyx.scipy
      lp = scp.special.lpmv(0, 2, 0.5)
      assert_array_almost_equal(lp, -0.125, 7)
      lp = scp.special.lpmv(0, 40, 0.001)
      assert_array_almost_equal(lp, 0.1252678976534484, 7)
  
      # XXX: this is outside the domain of the current implementation,
      #      so ensure it returns a NaN rather than a wrong answer.
      olderr = numpy.seterr(all="ignore")
      try:
          lp = scp.special.lpmv(-1, -1, 0.001)
      finally:
          numpy.seterr(**olderr)
      assert lp != 0 or cupy.isnan(lp)
  
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 1 for calling the TestLegendreFunctions obj's underlying member method code with example usage: obj.test_lpmv_basic() without return types