code: def test_dtw_subseq_boundary():
      # Verify that boundary condition doesn't have to be fulfilled for
      # subseq=True.
      # See https://github.com/librosa/librosa/pull/920
      X = np.array([1, 2, 3, 4, 5])
      Y = np.array([1, 1, 1, 2, 4, 5, 6, 5, 5])
      gt_wp = np.array([[0, 2], [1, 3], [2, 3], [3, 4], [4, 5]])
  
      D, wp = librosa.sequence.dtw(X, Y, subseq=True)
      wp = wp[::-1]
      assert np.array_equal(gt_wp, wp)
  
imports: import librosa
  import numpy
  from scipy.spatial.distance import cdist
  import pytest
  from test_core import srand
label_desc: Use image node_id 6 for calling a global function with example usage: test_dtw_subseq_boundary() without return types