Closes issue #12376 : Pass on parameters in unittest.TextTestResult.__init__ super call

This commit is contained in:
Michael Foord 2012-09-28 14:14:03 +01:00
parent 57491e0703
commit 7a1901f861
3 changed files with 16 additions and 1 deletions

View file

@ -35,7 +35,7 @@ class TextTestResult(result.TestResult):
separator2 = '-' * 70
def __init__(self, stream, descriptions, verbosity):
super(TextTestResult, self).__init__()
super(TextTestResult, self).__init__(stream, descriptions, verbosity)
self.stream = stream
self.showAll = verbosity > 1
self.dots = verbosity == 1