code: def test_list_input(self, xp, scp, k):
      # regression test for gh-8714: TypeError for x, y being lists and k=2
      x = list(range(10))
      y = [a**2 for a in x]
      return scp.interpolate.make_interp_spline(x, y, k=k)(x)
  
imports: import pytest
  import cupy
  from cupy import testing
  from cupy.cuda import runtime
  import numpy
  import cupyx.scipy.interpolate
label_desc: Use image node_id 12 for calling the TestInterp obj's underlying member method code with example usage: obj.test_list_input(xp, scp, k) and returns: scp