]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #27312: mock out function that fails when called from setupApp during
authorTerry Jan Reedy <tjreedy@udel.edu>
Fri, 17 Jun 2016 23:55:46 +0000 (19:55 -0400)
committerTerry Jan Reedy <tjreedy@udel.edu>
Fri, 17 Jun 2016 23:55:46 +0000 (19:55 -0400)
IDLE test_macosx and see if addOpenEventSupport() fails.

Lib/idlelib/idle_test/test_macosx.py

index d7f8f5db2715c6629aec6cc879a9accd32dae570..189dc486ca288e14f83f1526430e2b84cb92698e 100644 (file)
@@ -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