code: def testStreaming(self):
      signal = [0] * 44100
      onsets = [0, 0.05, 0.07, 0.08, 0.085, 0.1, 0.5, 0.8, 0.9]
  
      # standard version works correctly, and will be used as a reference:
      expected = AudioOnsetsMarker(sampleRate=44100, onsets=onsets)(
          signal
      )
  
      # streaming version is the one that fails:
      pool = Pool()
      gen = es.VectorInput(signal)
      onsetMarker = es.AudioOnsetsMarker(
          sampleRate=44100, onsets=onsets
      )
  
      gen.data >> onsetMarker.signal
      onsetMarker.signal >> (pool, "markedOnsets")
      run(gen)
  
      self.assertEqualVector(pool["markedOnsets"], expected)
  
file_path: essentia/test/src/unittests/io/test_audioonsetsmarker.py
imports: from essentia_test import *
  from numpy import pi, sin
  import os
  import essentia.streaming
label_desc: Use image node_id 4 for calling the TestAudioOnsetsMarker obj's underlying member method code with example usage: obj.testStreaming() without return types