diff -r 0a15e02e15db -r 6091145e189e src/eric7/Testing/TestResultsTree.py --- a/src/eric7/Testing/TestResultsTree.py Wed Nov 09 15:15:39 2022 +0100 +++ b/src/eric7/Testing/TestResultsTree.py Wed Nov 09 15:17:05 2022 +0100 @@ -160,7 +160,8 @@ return self.__backgroundColors[testResult.category] elif ( role == Qt.ItemDataRole.TextAlignmentRole - and idx == TopLevelId and column == TestResultsModel.DurationColumn + and idx == TopLevelId + and column == TestResultsModel.DurationColumn ): return Qt.AlignmentFlag.AlignRight.value elif role == Qt.ItemDataRole.UserRole and idx == TopLevelId: