code: def test_lpmv(self, xp, scp, dtype, order, degree):
      vals = xp.linspace(-1, 1, 100, dtype=dtype)
      return scp.special.lpmv(order, degree, vals)
  
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 2 for calling the TestLegendreFunctions obj's underlying member method code with example usage: obj.test_lpmv(xp, scp, dtype, order, degree) and returns: scp