aboutsummaryrefslogtreecommitdiffstats
path: root/tests/system/shared/editor_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/system/shared/editor_utils.py')
-rw-r--r--tests/system/shared/editor_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/system/shared/editor_utils.py b/tests/system/shared/editor_utils.py
index c1df47ac3e6..de5619472e7 100644
--- a/tests/system/shared/editor_utils.py
+++ b/tests/system/shared/editor_utils.py
@@ -67,7 +67,7 @@ def menuVisibleAtEditor(editor, menuInList):
return success
except:
t, v = sys.exc_info()[:2]
- test.log("Exception: %s" % str(t), str(v))
+ test.log("Exception: %s" % t.__name__, str(v))
return False
# this function checks whether the given global point (QPoint)
@@ -413,7 +413,7 @@ def openDocument(treeElement):
return False
except:
t,v = sys.exc_info()[:2]
- test.log("An exception occurred in openDocument(): %s(%s)" % (str(t), str(v)))
+ test.log("An exception occurred in openDocument(): %s: %s" % (t.__name__, str(v)))
return False
def earlyExit(details="No additional information"):