code: def testFailOnError(self):
      self.assertComputeFails(
          MetadataReader(
              filename=join(
                  self.audioDir, "random_file_that_doesnt_exist.ape"
              ),
              failOnError=True,
          )
      )
  
      result = MetadataReader(
          filename=join(
              self.audioDir, "random_file_that_doesnt_exist.ape"
          ),
          failOnError=False,
      )()
  
      self.assertTrue(result[7].descriptorNames() == [])
      self.assertEqualVector(result[:7], ("", "", "", "", "", "", ""))
      self.assertEqualVector(result[8:], (0, 0, 0, 0))
  
file_path: essentia/test/src/unittests/io/test_metadatareader.py
imports: from essentia_test import *
  import os
label_desc: Use image node_id 6 for calling the TestMetadataReader obj's underlying member method code with example usage: obj.testFailOnError() without return types