]> granicus.if.org Git - python/commitdiff
Issue #27922: IDLE test_idlehistory no longer flash tk widgets.
authorTerry Jan Reedy <tjreedy@udel.edu>
Sun, 4 Sep 2016 19:02:02 +0000 (15:02 -0400)
committerTerry Jan Reedy <tjreedy@udel.edu>
Sun, 4 Sep 2016 19:02:02 +0000 (15:02 -0400)
(Omitted for 2.7 from previous patch.)

Lib/idlelib/idle_test/test_idlehistory.py

index dc6bb3298dd9448ea1ad16b933d8ab27f9b8f719..b0767570fc7273fe852640375c80891a3981274b 100644 (file)
@@ -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)