diff options
Diffstat (limited to 'tests/system/shared/utils.py')
-rw-r--r-- | tests/system/shared/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/system/shared/utils.py b/tests/system/shared/utils.py index 590b277a1e6..097772769d0 100644 --- a/tests/system/shared/utils.py +++ b/tests/system/shared/utils.py @@ -458,7 +458,7 @@ def iterateQtVersions(keepOptionsOpen=False, alreadyOnOptionsDialog=False, currResult = additionalFunction(target, version, *argsForAdditionalFunc) except: import sys - t,v,tb = sys.exc_info() + t,v,_ = sys.exc_info() currResult = None test.fatal("Function to additionally execute on Options Dialog could not be found or " "an exception occurred while executing it.", "%s(%s)" % (str(t), str(v))) @@ -521,7 +521,7 @@ def iterateKits(keepOptionsOpen=False, alreadyOnOptionsDialog=False, currResult = additionalFunction(item, kitName, *argsForAdditionalFunc) except: import sys - t,v,tb = sys.exc_info() + t,v,_ = sys.exc_info() currResult = None test.fatal("Function to additionally execute on Options Dialog could not be " "found or an exception occurred while executing it.", "%s(%s)" % |