--- a/eric7/Testing/TestResultsTree.py Mon Jun 06 16:34:37 2022 +0200 +++ b/eric7/Testing/TestResultsTree.py Fri Jul 01 11:02:32 2022 +0200 @@ -154,7 +154,7 @@ return self.__backgroundColors[testResult.category] elif role == Qt.ItemDataRole.TextAlignmentRole: if idx == TopLevelId and column == TestResultsModel.DurationColumn: - return Qt.AlignmentFlag.AlignRight + return Qt.AlignmentFlag.AlignRight.value elif role == Qt.ItemDataRole.UserRole: # __IGNORE_WARNING_Y102__ if idx == TopLevelId: testresult = self.__testResults[row]