code: def test_dtw_subseq_inf():
      # Construct a cost matrix where partial alignment is impossible
      C = np.zeros((4, 4), dtype=float)
      C[-1, :] = np.inf
  
      with pytest.raises(librosa.ParameterError):
          librosa.sequence.dtw(C=C, subseq=True)
  
imports: import librosa
  import numpy
  from scipy.spatial.distance import cdist
  import pytest
  from test_core import srand
label_desc: Use image node_id 21 for calling a global function with example usage: test_dtw_subseq_inf() without return types