code: def testBadWeightSize(self):
      weights = [1, 2, 3, 4]
      input = [[1, 2, 3, 4], [5, 6, 7, 8], [9, 10, 11, 12]]
  
      self.assertComputeFails(Onsets(), input, weights)
  
file_path: essentia/test/src/unittests/rhythm/test_onsets.py
imports: from essentia_test import *
label_desc: Use image node_id 6 for calling the TestOnsets obj's underlying member method code with example usage: obj.testBadWeightSize() without return types