From: terryjreedy Date: Tue, 13 Jun 2017 19:40:59 +0000 (-0400) Subject: [3.6]bpo-27922: Stop gui flash from idle_test.test_parenmatch (#2171) (#2172) X-Git-Tag: v3.6.2rc1~31 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d92ee3ea622b6eee5846681bad5595cfedcf20b6;p=python [3.6]bpo-27922: Stop gui flash from idle_test.test_parenmatch (#2171) (#2172) For unknown reasons, this does not work when running leak tests. (cherry picked from commit 049cf2bb44038351e1b2eed4fc7b1b522329e550) --- diff --git a/Lib/idlelib/idle_test/test_parenmatch.py b/Lib/idlelib/idle_test/test_parenmatch.py index 051f7eac2d..b5fd0d1c69 100644 --- a/Lib/idlelib/idle_test/test_parenmatch.py +++ b/Lib/idlelib/idle_test/test_parenmatch.py @@ -24,6 +24,7 @@ class ParenMatchTest(unittest.TestCase): @classmethod def setUpClass(cls): cls.root = Tk() + cls.root.withdraw() cls.text = Text(cls.root) cls.editwin = DummyEditwin(cls.text) cls.editwin.text_frame = Mock()