code: def test_path_enhance_badratio(R_input):
      # We can't have min_ratio > max_ratio
      librosa.segment.path_enhance(
          R_input, n=5, min_ratio=3, max_ratio=2
      )
  
imports: from typing import Union
  import warnings
  import os
  import numpy
  import scipy
  from scipy.spatial.distance import cdist, pdist, squareform
  import pytest
  from test_core import srand
  import librosa
label_desc: Use image node_id 41 for calling a global function with example usage: test_path_enhance_badratio(R_input) without return types