mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fixed PY-9136 The TeamCity plugin breaks tests with current Python 2.7
added *args to TeamcityTestResult.__init__ according to http://hg.python.org/cpython/rev/0362d64c783
This commit is contained in:
@@ -34,7 +34,7 @@ def smart_str(s):
|
||||
return s
|
||||
|
||||
class TeamcityTestResult(TestResult):
|
||||
def __init__(self, stream=sys.stdout, **kwargs):
|
||||
def __init__(self, stream=sys.stdout, *args, **kwargs):
|
||||
TestResult.__init__(self)
|
||||
for arg, value in kwargs.items():
|
||||
setattr(self, arg, value)
|
||||
|
||||
Reference in New Issue
Block a user