[Python-checkins] cpython (2.7): Issue #27922: IDLE test_idlehistory no longer flash tk widgets.
terry.reedy
python-checkins at python.org
Sun Sep 4 15:02:17 EDT 2016
https://hg.python.org/cpython/rev/6e4475894a79
changeset: 103034:6e4475894a79
branch: 2.7
parent: 103024:86d66a627b77
user: Terry Jan Reedy <tjreedy at udel.edu>
date: Sun Sep 04 15:02:02 2016 -0400
summary:
Issue #27922: IDLE test_idlehistory no longer flash tk widgets.
(Omitted for 2.7 from previous patch.)
files:
Lib/idlelib/idle_test/test_idlehistory.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Lib/idlelib/idle_test/test_idlehistory.py b/Lib/idlelib/idle_test/test_idlehistory.py
--- a/Lib/idlelib/idle_test/test_idlehistory.py
+++ b/Lib/idlelib/idle_test/test_idlehistory.py
@@ -68,6 +68,7 @@
def setUpClass(cls):
requires('gui')
cls.root = tk.Tk()
+ cls.root.withdraw()
def setUp(self):
self.text = text = TextWrapper(self.root)
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list