diff options
Diffstat (limited to 'tests/system/shared/utils.py')
-rw-r--r-- | tests/system/shared/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/system/shared/utils.py b/tests/system/shared/utils.py index 853c5f6fde..8890ce4da0 100644 --- a/tests/system/shared/utils.py +++ b/tests/system/shared/utils.py @@ -110,7 +110,7 @@ def textUnderCursor(window, fromPos, toPos): cursor.movePosition(toPos, QTextCursor.KeepAnchor) returnValue = cursor.selectedText() cursor.setPosition(oldposition) - return returnValue + return str(returnValue) def which(program): # Don't use spawn.find_executable because it can't find .bat or |