code: def test_onset_strength_multi_noagg(melspec_sr, lag, aggregate):
      S, sr = melspec_sr
      # We only test with max_size=1 here to make the sub-band slicing test simple
      odf_multi = librosa.onset.onset_strength_multi(
          S=S, lag=lag, max_size=1, aggregate=False
      )
      odf_mean = librosa.onset.onset_strength_multi(
          S=S, lag=lag, max_size=1, aggregate=aggregate
      )
  
      # With no aggregation, output shape should = input shape
      assert odf_multi.shape == S.shape
  
      # Result should average out to the same as mean aggregation
      assert np.allclose(odf_mean, aggregate(odf_multi, axis=0))
  
imports: import pytest
  from contextlib import nullcontext
  import os
  import warnings
  import numpy
  import librosa
  from test_core import srand
label_desc: Use image node_id 8 for calling a global function with example usage: test_onset_strength_multi_noagg(melspec_sr, lag, aggregate) without return types