code: def testWrongFrameSizeReconfigure(self):
      # This test makes sure that even though the frameSize given at
      # configure time does not match the input spectrum, the algorithm does
      # not crash and correctly resizes internal structures to avoid errors.
      logfreqspectrogram = getLogSpectrumReference(frameSize=1000)
      self.assertAlmostEqualVector(logfreqspectrogram, _expected, 1e-4)
  
file_path: essentia/test/src/unittests/spectral/test_logspectrum.py
imports: from essentia_test import *
  import numpy
label_desc: Use image node_id 5 for calling the TestLogSpectrum obj's underlying member method code with example usage: obj.testWrongFrameSizeReconfigure() without return types