From: Terry Jan Reedy Date: Sun, 4 Sep 2016 19:02:02 +0000 (-0400) Subject: Issue #27922: IDLE test_idlehistory no longer flash tk widgets. X-Git-Tag: v2.7.13rc1~185 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb2519813c252fa90c508ae1d72e515d034b49d0;p=thirdparty%2FPython%2Fcpython.git Issue #27922: IDLE test_idlehistory no longer flash tk widgets. (Omitted for 2.7 from previous patch.) --- diff --git a/Lib/idlelib/idle_test/test_idlehistory.py b/Lib/idlelib/idle_test/test_idlehistory.py index dc6bb3298dd9..b0767570fc72 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)