code: def testNegativeMagnitudeTest(self):
      freqs = [250, 500, 1000]  # length 3
      mag_speaks = [1, -1, 1]  # length 3
      self.assertRaises(
          EssentiaException,
          lambda: PitchSalienceFunction()(freqs, mag_speaks),
      )
  
imports: from essentia_test import *
  from numpy import *
label_desc: Use image node_id 17 for calling the TestPitchSalienceFunction obj's underlying member method code with example usage: obj.testNegativeMagnitudeTest() without return types