summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorterryjreedy <tjreedy@udel.edu>2017-06-13 15:40:59 -0400
committerGitHub <noreply@github.com>2017-06-13 15:40:59 -0400
commitd92ee3ea622b6eee5846681bad5595cfedcf20b6 (patch)
tree66e7591a9345a48db9a2fd0a4de9e1b2fc1da1cf
parentb0efd493b6af24a6ae744e7e02f4b69c70e88f3d (diff)
downloadcpython-git-d92ee3ea622b6eee5846681bad5595cfedcf20b6.tar.gz
[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)
-rw-r--r--Lib/idlelib/idle_test/test_parenmatch.py1
1 files changed, 1 insertions, 0 deletions
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()