code: def testOneStreaming(self):
      gen = VectorInput([23])
      dur = es.Duration()
      pool = Pool()
  
      gen.data >> dur.signal
      dur.duration >> (pool, "duration")
      run(gen)
  
      self.assertAlmostEqual(pool["duration"], 2.26757365454e-5)
  
file_path: essentia/test/src/unittests/temporal/test_duration.py
imports: from essentia_test import *
  import essentia.streaming
  from random import randint
label_desc: Use image node_id 8 for calling the TestDuration obj's underlying member method code with example usage: obj.testOneStreaming() without return types