code: def testEmptyFile(self):
      testFile = ""
      writeFile(testFile, "testfile")
  
      self.assertRaises(
          RuntimeError, lambda: YamlInput(filename="testfile")()
      )
      self.assertRaises(
          RuntimeError,
          lambda: YamlInput(filename="testfile", format="json")(),
      )
      os.remove("testfile")
  
imports: from essentia_test import *
  import os
label_desc: Use image node_id 21 for calling the TestYamlInput obj's underlying member method code with example usage: obj.testEmptyFile() without return types