diff --git a/tests/system/shared/project_explorer.py b/tests/system/shared/project_explorer.py index ca7952022ee..447b8057d5b 100644 --- a/tests/system/shared/project_explorer.py +++ b/tests/system/shared/project_explorer.py @@ -103,7 +103,7 @@ def waitForProjectTreeItem(treeElement, timeoutMSec): projectTV = ":Qt Creator_Utils::NavigationTreeView" projItem = None treeElementWithBranch = addBranchWildcardToRoot(treeElement) - for _ in range(timeoutMSec / 200): + for _ in range(__builtins__.int(timeoutMSec / 200)): try: projItem = waitForObjectItem(projectTV, treeElement, 100) except: