code: def test_cwt_delta(self, xp, scp):
      widths = [1.0]
      len_data = 100
      test_data = xp.sin(xp.pi * xp.arange(0, len_data) / 10.0)
  
      def delta_wavelet(s, t):
          return xp.array([1])
  
      return scp.signal.cwt(test_data, delta_wavelet, widths)
  
file_path: cupy/tests/cupyx_tests/scipy_tests/signal_tests/test_wavelets.py
imports: import pytest
  from cupy import testing
  import cupyx.scipy.signal
label_desc: Use image node_id 12 for calling the TestWavelets obj's underlying member method code with example usage: obj.test_cwt_delta(xp, scp) and returns: scp, xp