mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Pass on parameters in unittest.TextTestResult.__init__ super call
This commit is contained in:
parent
fb2e8a7c01
commit
bf2ad34650
3 changed files with 16 additions and 1 deletions
|
@ -34,7 +34,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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue