code: def test_dtw_global_diagonal():
      # query is a linear ramp
      X = np.linspace(0.1, 1, 10)
      Y = X
  
      gt_wp = list(zip(list(range(10)), list(range(10))))[::-1]
  
      mut_D, mut_wp = librosa.sequence.dtw(
          X,
          Y,
          subseq=True,
          metric="cosine",
          step_sizes_sigma=np.array([[1, 1]]),
          weights_mul=np.array([1]),
      )
  
      assert np.array_equal(np.asarray(gt_wp), np.asarray(mut_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 15 for calling a global function with example usage: test_dtw_global_diagonal() without return types