From: Terry Jan Reedy Date: Fri, 17 Jun 2016 23:55:46 +0000 (-0400) Subject: Issue #27312: mock out function that fails when called from setupApp during X-Git-Tag: v3.6.0a3~127 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fdb6ef774a4835acb6f10d0ee6901eab0dc92645;p=thirdparty%2FPython%2Fcpython.git Issue #27312: mock out function that fails when called from setupApp during IDLE test_macosx and see if addOpenEventSupport() fails. --- diff --git a/Lib/idlelib/idle_test/test_macosx.py b/Lib/idlelib/idle_test/test_macosx.py index d7f8f5db2715..189dc486ca28 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