code: def test_frequency_weighting(kind):
      freq = np.linspace(2e1, 2e4)
      assert np.allclose(
          librosa.frequency_weighting(freq, kind=kind),
          librosa.core.convert.WEIGHTING_FUNCTIONS[kind](freq),
          0,
          atol=1e-3,
      )
  
imports: import os
  import sys
  import warnings
  import librosa
  import numpy
  import pytest
label_desc: Use image node_id 30 for calling a global function with example usage: test_frequency_weighting(kind) without return types