code: def test_periodic_knots_exception(self, xp, scp):
      # `periodic` case does not work with passed vector of knots
      n, k = 7, 3
      x = xp.linspace(0, n, n)
      y = x**2
      t = xp.zeros(n + 2 * k)
      return scp.interpolate.make_interp_spline(x, y, k, t, "periodic")
  
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 7 for calling the TestInterpPeriodic obj's underlying member method code with example usage: obj.test_periodic_knots_exception(xp, scp) and returns: scp