code: def _make_random_spline(self, xp, scp, n=35, k=3):
      t = xp.sort(
          testing.shaped_random((n + k + 1,), xp, dtype=np.float64)
      )
      c = testing.shaped_random((n,), xp, dtype=np.float64)
      return scp.interpolate.BSpline.construct_fast(t, c, k)
  
imports: import pytest
  import inspect
  from cupy import testing
  from cupy_backends.cuda.api import driver
  from cupy_backends.cuda.api import runtime
  import numpy
  import cupyx.scipy.interpolate
label_desc: Use image node_id 1 for calling the TestBSpline obj's underlying member method code with example usage: obj._make_random_spline(xp, scp, n, k) and returns: scp