def METHOD_NAME(self, start, stop):
    """Called by the test runner to print the final summary of test
    run results.
    """
    write = self.stream.write
    writeln = self.stream.writeln
    taken = float(stop - start)
    run = self.testsRun
    plural = run != 1 and "s" or ""
    writeln(self.separator2)
    writeln("Ran %s test%s in %.3fs" % (run, plural, taken))
    writeln()
    summary = {}
    eckeys = self.errorClasses.keys()
    for cls in eckeys:
        storage, label, isfail = self.errorClasses[cls]
        count = len(storage)
        if not count:
            continue
        summary[label] = count
    if len(self.failures):
        summary['failures'] = len(self.failures)
    if len(self.errors):
        summary['errors'] = len(self.errors)
    if not self.wasSuccessful():
        write("FAILED")
    else:
        write("OK")
    items = summary.items()
    if items:
        items.sort()
        write(" (")
        write(", ".join(["%s=%s" % (label, count) for
                         label, count in items]))
        writeln(")")
    else:
        writeln()