Issue #27732: Silence test_idle with dummy bell functions.

This commit is contained in:
Terry Jan Reedy 2016-08-10 23:44:54 -04:00
parent 40f70d1c05
commit 3ff55a8155
10 changed files with 32 additions and 23 deletions

View file

@ -51,7 +51,7 @@ class SearchDialog(SearchDialogBase):
selfirst = text.index("sel.first")
sellast = text.index("sel.last")
if selfirst == first and sellast == last:
text.bell()
self.bell()
return False
except TclError:
pass
@ -61,7 +61,7 @@ class SearchDialog(SearchDialogBase):
text.see("insert")
return True
else:
text.bell()
self.bell()
return False
def find_selection(self, text):