code: def test_tempo_tgin(ysr):
      # Test that tempo estimation tempogram input matches without
      y, sr = ysr
      # Use a non-standard win length
      ac_size = 5
      t1 = librosa.feature.tempo(
          y=y, sr=sr, ac_size=ac_size, aggregate=None
      )
  
      win_length = librosa.time_to_frames(ac_size, sr=sr).item()
      tg = librosa.feature.tempogram(y=y, sr=sr, win_length=win_length)
      t2 = librosa.feature.tempo(tg=tg, sr=sr, aggregate=None)
  
      assert np.allclose(t1, t2)
  
imports: import os
  import pytest
  from contextlib import nullcontext
  import numpy
  import scipy.stats
  import librosa
  from test_core import files, load
label_desc: Use image node_id 16 for calling a global function with example usage: test_tempo_tgin(ysr) without return types