diff -r 3bb9b7d997db -r 83084f088655 eric7/PyUnit/UnittestDialog.py --- a/eric7/PyUnit/UnittestDialog.py Tue May 18 19:25:53 2021 +0200 +++ b/eric7/PyUnit/UnittestDialog.py Wed May 19 17:36:34 2021 +0200 @@ -942,7 +942,7 @@ text = re.sub(pattern, "", text) foundItems = self.testsListWidget.findItems( - text, Qt.MatchFlags(Qt.MatchFlag.MatchExactly)) + text, Qt.MatchFlag.MatchExactly) if len(foundItems) > 0: itm = foundItems[0] self.testsListWidget.setCurrentItem(itm)