code: def try_execfile(test_path, filename):
      test_file = os.path.join(test_path, filename)
      if os.path.isfile(test_file):
          report_filename = "tests.%s.%s.xml" % (
              test_path.replace("/", "_").replace("\\", "_"),
              filename,
          )
          # clear existing report if there is one
          if os.path.exists(report_filename):
              os.remove(report_filename)
          try:
              exec(
                  compile(open(test_file).read(), test_file, "exec"),
                  globals(),
              )
          except:
              with open(report_filename, "w") as f:
                  report_failure(f, test_path, filename, sys.exc_info())
              raise
  
file_path: turicreate/scenario-tests/tests/setup_reporter.py
imports: import cgi
  import os
  import sys
  import traceback
label_desc: Use image node_id 5 for calling a global function with example usage: try_execfile(test_path, filename) without return types