code: def test_hz_to_octs(infile):
      DATA = load(infile)
      z = librosa.hz_to_octs(DATA["f"])
  
      assert np.allclose(z, DATA["result"])
  
imports: import os
  from contextlib import nullcontext
  import warnings
  import glob
  import numpy
  import scipy.io
  import scipy.signal
  from typing import Any, ContextManager
  import pytest
  import librosa
label_desc: Use image node_id 5 for calling a global function with example usage: test_hz_to_octs(infile) without return types