mirror of
https://github.com/python/cpython.git
synced 2025-10-09 08:31:26 +00:00
Issue #27732: Silence test_idle with dummy bell functions.
This commit is contained in:
parent
40f70d1c05
commit
3ff55a8155
10 changed files with 32 additions and 23 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue