code: def report_failure(output, test_path, filename, exc_info):
      write_declaration(output)
      write_testsuite(output, test_path, filename, exc_info)
  
file_path: turicreate/scenario-tests/tests/setup_reporter.py
imports: import cgi
  import os
  import sys
  import traceback
label_desc: Use image node_id 4 for calling a global function with example usage: report_failure(output, test_path, filename, exc_info) without return types