summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorterryjreedy <tjreedy@udel.edu>2017-06-13 18:40:10 (GMT)
committerGitHub <noreply@github.com>2017-06-13 18:40:10 (GMT)
commit049cf2bb44038351e1b2eed4fc7b1b522329e550 (patch)
treed1a4d0292bc0c19ad6b865435c45d6b05f2b918b
parent2d0afef82a07afdb666f2ca0c533aac5d39155cd (diff)
downloadcpython-049cf2bb44038351e1b2eed4fc7b1b522329e550.zip
cpython-049cf2bb44038351e1b2eed4fc7b1b522329e550.tar.gz
cpython-049cf2bb44038351e1b2eed4fc7b1b522329e550.tar.bz2
bpo-27922: Stop gui flash from idle_test.test_parenmatch (#2171)
For unknown reasons, this does not work when running leak tests.
-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 051f7ea..b5fd0d1 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()