summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2016-06-17 23:55:46 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2016-06-17 23:55:46 (GMT)
commitfdb6ef774a4835acb6f10d0ee6901eab0dc92645 (patch)
treee0a5cd4377ac7c289f48c7c96cb4ba0bd147356c /Lib/idlelib
parentea93ac013dc0d69c3500f16105fb0f8ea94aba3f (diff)
downloadcpython-fdb6ef774a4835acb6f10d0ee6901eab0dc92645.zip
cpython-fdb6ef774a4835acb6f10d0ee6901eab0dc92645.tar.gz
cpython-fdb6ef774a4835acb6f10d0ee6901eab0dc92645.tar.bz2
Issue #27312: mock out function that fails when called from setupApp during
IDLE test_macosx and see if addOpenEventSupport() fails.
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/idle_test/test_macosx.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/idlelib/idle_test/test_macosx.py b/Lib/idlelib/idle_test/test_macosx.py
index d7f8f5d..189dc48 100644
--- a/Lib/idlelib/idle_test/test_macosx.py
+++ b/Lib/idlelib/idle_test/test_macosx.py
@@ -83,6 +83,7 @@ class SetupTest(unittest.TestCase):
cls.root.destroy()
del cls.root
+ @mock.patch('idlelib.macosx.overrideRootMenu') #27312
def test_setupapp(self):
"Call setupApp with each possible graphics type."
root = self.root