diff -r 9c30e09c020b -r 1675c039a568 eric7/Testing/TestResultsTree.py --- a/eric7/Testing/TestResultsTree.py Mon Jun 20 09:47:00 2022 +0200 +++ b/eric7/Testing/TestResultsTree.py Mon Jun 20 11:04:28 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]