[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 049cf2bb44)
This commit is contained in:
terryjreedy 2017-06-13 15:40:59 -04:00 committed by GitHub
parent b0efd493b6
commit d92ee3ea62
1 changed files with 1 additions and 0 deletions

View File

@ -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()