diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2016-08-11 03:44:54 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2016-08-11 03:44:54 (GMT) |
commit | 3ff55a815559c91cfd8a7573e63ea6c3b7124484 (patch) | |
tree | 18c062df6cfcbee9f33f37ab41b96406c97e7302 /Lib/idlelib/search.py | |
parent | 40f70d1c057fb61eb24724950c237cd4b45a8cf5 (diff) | |
download | cpython-3ff55a815559c91cfd8a7573e63ea6c3b7124484.zip cpython-3ff55a815559c91cfd8a7573e63ea6c3b7124484.tar.gz cpython-3ff55a815559c91cfd8a7573e63ea6c3b7124484.tar.bz2 |
Issue #27732: Silence test_idle with dummy bell functions.
Diffstat (limited to 'Lib/idlelib/search.py')
-rw-r--r-- | Lib/idlelib/search.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/search.py b/Lib/idlelib/search.py index 4c2acef..508a35c 100644 --- a/Lib/idlelib/search.py +++ b/Lib/idlelib/search.py @@ -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): |