[Python-checkins] cpython: Issue #27312: mock out function that fails when called from setupApp during
terry.reedy
python-checkins at python.org
Fri Jun 17 19:56:04 EDT 2016
https://hg.python.org/cpython/rev/90fd1c17214b
changeset: 102076:90fd1c17214b
user: Terry Jan Reedy <tjreedy at udel.edu>
date: Fri Jun 17 19:55:46 2016 -0400
summary:
Issue #27312: mock out function that fails when called from setupApp during
IDLE test_macosx and see if addOpenEventSupport() fails.
files:
Lib/idlelib/idle_test/test_macosx.py | 1 +
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
--- a/Lib/idlelib/idle_test/test_macosx.py
+++ b/Lib/idlelib/idle_test/test_macosx.py
@@ -83,6 +83,7 @@
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
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list