From f7ad1f02a1a5921811f8821e37d891ad40b96c37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20L=C3=B6hning?= Date: Thu, 6 Apr 2023 13:03:09 +0200 Subject: [PATCH] SquishTests: Fix waitForProjectTreeItem() for python3 Amends 892ccd2097ece7e8f77ab278dc83d83f6cc0ce7e Change-Id: I18e2c9a5407e4c70dfdae5e9c17959897ea33d50 Reviewed-by: Christian Stenger --- tests/system/shared/project_explorer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: