From cd85b16e3da64824f76e3890e47b2f43def6d445 Mon Sep 17 00:00:00 2001 From: Ekaterina Tuzova Date: Tue, 8 Oct 2013 20:33:26 +0400 Subject: [PATCH] fixed PY-10906 Error in nosetest runner (Python 3.3) --- python/helpers/pycharm/nose_utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/helpers/pycharm/nose_utils.py b/python/helpers/pycharm/nose_utils.py index 94a6193f6857..62c77a2e1e4f 100644 --- a/python/helpers/pycharm/nose_utils.py +++ b/python/helpers/pycharm/nose_utils.py @@ -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):