src/eric7/Testing/TestResultsTree.py

branch
eric7
changeset 9502
6091145e189e
parent 9500
5771348ded12
child 9549
67295777d9fe
child 9653
e67609152c5e
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:

eric ide

mercurial