From cb2519813c252fa90c508ae1d72e515d034b49d0 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Sun, 4 Sep 2016 15:02:02 -0400 Subject: Issue #27922: IDLE test_idlehistory no longer flash tk widgets. (Omitted for 2.7 from previous patch.) --- Lib/idlelib/idle_test/test_idlehistory.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/idlelib/idle_test/test_idlehistory.py b/Lib/idlelib/idle_test/test_idlehistory.py index dc6bb32..b076757 100644 --- a/Lib/idlelib/idle_test/test_idlehistory.py +++ b/Lib/idlelib/idle_test/test_idlehistory.py @@ -68,6 +68,7 @@ class FetchTest(unittest.TestCase): def setUpClass(cls): requires('gui') cls.root = tk.Tk() + cls.root.withdraw() def setUp(self): self.text = text = TextWrapper(self.root) -- cgit v0.12