code: def testNegative(self):
      with self.assertRaises(EssentiaException):
          Entropy()(np.array([-1], dtype=np.single))
  
      with self.assertRaises(EssentiaException):
          Entropy()(
              np.sin(
                  np.linspace(
                      0, np.pi * 1000, num=44100, dtype=np.single
                  )
              )
          )
  
file_path: essentia/test/src/unittests/stats/test_entropy.py
imports: import os.path
  import random
  from essentia_test import *
  import numpy
  import math
label_desc: Use image node_id 2 for calling the TestEntropy obj's underlying member method code with example usage: obj.testNegative() without return types