PyUnit/UnittestDialog.py

changeset 2965
d133c7edd88a
parent 2681
e793289c4362
child 2992
dbdf27746da5
equal deleted inserted replaced
2964:84b65fb9e780 2965:d133c7edd88a
395 395
396 def on_errorsListWidget_currentTextChanged(self, text): 396 def on_errorsListWidget_currentTextChanged(self, text):
397 """ 397 """
398 Private slot to handle the highlighted signal. 398 Private slot to handle the highlighted signal.
399 399
400 @param txt current text (string) 400 @param text current text (string)
401 """ 401 """
402 if text: 402 if text:
403 for pattern in self.rxPatterns: 403 for pattern in self.rxPatterns:
404 text = re.sub(pattern, "", text) 404 text = re.sub(pattern, "", text)
405 itm = self.testsListWidget.findItems(text, Qt.MatchFlags(Qt.MatchExactly))[0] 405 itm = self.testsListWidget.findItems(text, Qt.MatchFlags(Qt.MatchExactly))[0]

eric ide

mercurial