docstr: Test with non-C-contiguous input arrays.
docstr_tok: ["Test","with","non-C-contiguous","input","arrays","."]
code: def test_non_contiguous(self, xp, scp):
      """
      Test with non-C-contiguous input arrays.
      """
      x = xp.repeat(xp.asarray([0, 100, 50]), 4)
      peaks = xp.repeat(xp.asarray([1]), 3)
      result = scp.signal.peak_widths(x[::4], peaks[::3])
      return result
  
imports: import pytest
  import cupy
  from cupy.cuda import driver
  from cupy.cuda import runtime
  from cupy import testing
  import cupyx.scipy.signal
  import numpy
label_desc: Use image node_id 3 for calling the TestPeakWidths obj's underlying member method code with example usage: obj.test_non_contiguous(xp, scp) and returns: result