mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fixed PY-10906 Error in nosetest runner (Python 3.3)
This commit is contained in:
@@ -58,6 +58,8 @@ class TeamcityPlugin(ErrorClassPlugin, TextTestResult, TeamcityTestResult):
|
||||
|
||||
def formatErr(self, err):
|
||||
exctype, value, tb = err
|
||||
if isinstance(value, str):
|
||||
value = exctype(value)
|
||||
return ''.join(traceback.format_exception(exctype, value, tb))
|
||||
|
||||
def is_gen(self, test):
|
||||
|
||||
Reference in New Issue
Block a user