summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test/test_undo.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2016-08-11 03:44:54 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2016-08-11 03:44:54 (GMT)
commit3ff55a815559c91cfd8a7573e63ea6c3b7124484 (patch)
tree18c062df6cfcbee9f33f37ab41b96406c97e7302 /Lib/idlelib/idle_test/test_undo.py
parent40f70d1c057fb61eb24724950c237cd4b45a8cf5 (diff)
downloadcpython-3ff55a815559c91cfd8a7573e63ea6c3b7124484.zip
cpython-3ff55a815559c91cfd8a7573e63ea6c3b7124484.tar.gz
cpython-3ff55a815559c91cfd8a7573e63ea6c3b7124484.tar.bz2
Issue #27732: Silence test_idle with dummy bell functions.
Diffstat (limited to 'Lib/idlelib/idle_test/test_undo.py')
-rw-r--r--Lib/idlelib/idle_test/test_undo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/idle_test/test_undo.py b/Lib/idlelib/idle_test/test_undo.py
index 80f1b80..e872927 100644
--- a/Lib/idlelib/idle_test/test_undo.py
+++ b/Lib/idlelib/idle_test/test_undo.py
@@ -29,8 +29,8 @@ class UndoDelegatorTest(unittest.TestCase):
def setUp(self):
self.delegator = UndoDelegator()
+ self.delegator.bell = Mock()
self.percolator.insertfilter(self.delegator)
- self.delegator.bell = Mock(wraps=self.delegator.bell)
def tearDown(self):
self.percolator.removefilter(self.delegator)