fixed PY-10906 Error in nosetest runner (Python 3.3)

This commit is contained in:
Ekaterina Tuzova
2013-10-08 20:33:26 +04:00
parent 70d3040b08
commit cd85b16e3d
+2
View File
@@ -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):