def METHOD_NAME(self, test):
    super(TextTestResult, self).METHOD_NAME(test)
    if self.showAll:
        self.stream.writeln("unexpected success")
    elif self.dots:
        self.stream.write("u")
        self.stream.flush()