def METHOD_NAME(results, verbose, outfile):
    if results and not verbose:
        outfile.write('\n')
    total = len(results)
    failures = 0
    errors = 0
    for name, filenames, kind, info in results:
        if kind == 'SUCCESS':
            continue
        if kind == 'FAILURE':
            failures += 1
        if kind == 'ERROR':
            errors += 1
        outfile.write('='*75+'\n')
        outfile.write('%s(%s): %s\n' % (name, ', '.join(filenames), kind))
        if kind == 'ERROR':
            traceback.print_exception(file=outfile, *info)
        else:
            outfile.write('Traceback (most recent call last):\n')
            traceback.print_tb(info[2], file=outfile)
            outfile.write('%s: see below\n' % info[0].__name__)
            outfile.write('~'*75+'\n')
            for arg in info[1].args:
                pprint.pprint(arg, stream=outfile)  # ext-print: ignore
        for filename in filenames:
            outfile.write('-'*75+'\n')
            outfile.write('%s:\n' % filename)
            data = open(filename, 'r', errors='replace').read()
            outfile.write(data)
            if data and data[-1] != '\n':
                outfile.write('\n')
    outfile.write('='*75+'\n')
    outfile.write('TESTS: %s\n' % total)
    if failures:
        outfile.write('FAILURES: %s\n' % failures)
    if errors:
        outfile.write('ERRORS: %s\n' % errors)
    return not (failures or errors)