code: def test_cqt_frequencies(n_bins, fmin, bins_per_octave, tuning):
      freqs = librosa.cqt_frequencies(
          n_bins,
          fmin=fmin,
          bins_per_octave=bins_per_octave,
          tuning=tuning,
      )
  
      # Make sure we get the right number of bins
      assert len(freqs) == n_bins
  
      # And that the first bin matches fmin by tuning
      assert np.allclose(
          freqs[0], fmin * 2.0 ** (float(tuning) / bins_per_octave)
      )
  
      # And that we have constant Q
      Q = np.diff(np.log2(freqs))
      assert np.allclose(Q, 1.0 / bins_per_octave)
  
imports: import os
  import sys
  import warnings
  import librosa
  import numpy
  import pytest
label_desc: Use image node_id 22 for calling a global function with example usage: test_cqt_frequencies(n_bins, fmin, bins_per_octave, tuning) without return types