def SummarizeResults(result):
  """Print a summary of a test result."""
  print
  print "Results"
  print "==============="

  print "total tests run: %s" % result.testsRun
  print "   errors found: %s" % len(result.errors)
  print " failures found: %s" % len(result.failures)
  print
dataset/ETHPy150Open MacSysadmin/pymacadmin/utilities/diskimage_unittesting/run_image_tests.py/SummarizeResults/original