Skip to content

Commit d92ee3e

Browse files
authored
[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 049cf2b)
1 parent b0efd49 commit d92ee3e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/idlelib/idle_test/test_parenmatch.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ class ParenMatchTest(unittest.TestCase):
2424
@classmethod
2525
def setUpClass(cls):
2626
cls.root = Tk()
27+
cls.root.withdraw()
2728
cls.text = Text(cls.root)
2829
cls.editwin = DummyEditwin(cls.text)
2930
cls.editwin.text_frame = Mock()

0 commit comments

Comments
 (0)