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
|
@ -79,6 +79,7 @@ class SearchDialogBase:
|
|||
top.wm_title(self.title)
|
||||
top.wm_iconname(self.icon)
|
||||
self.top = top
|
||||
self.bell = top.bell
|
||||
|
||||
self.row = 0
|
||||
self.top.grid_columnconfigure(0, pad=2, weight=0)
|
||||
|
@ -188,7 +189,7 @@ class _searchbase(SearchDialogBase): # htest #
|
|||
width,height, x,y = list(map(int, re.split('[x+]', parent.geometry())))
|
||||
self.top.geometry("+%d+%d" % (x + 40, y + 175))
|
||||
|
||||
def default_command(self): pass
|
||||
def default_command(self, dummy): pass
|
||||
|
||||
if __name__ == '__main__':
|
||||
import unittest
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue