summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test/test_parenmatch.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2016-06-04 03:58:37 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2016-06-04 03:58:37 (GMT)
commit5a493e9dc4f83e7e2a67dc38b7d2b886a6ee8960 (patch)
tree6018bd4cc6d48c33a8fd9c3bcf679c0800565489 /Lib/idlelib/idle_test/test_parenmatch.py
parent3d7281d2bdf0bbea105d73a12555366f29d6830e (diff)
parent6047b5537226efdcd2e3b460957fb44388ec2e99 (diff)
downloadcpython-5a493e9dc4f83e7e2a67dc38b7d2b886a6ee8960.zip
cpython-5a493e9dc4f83e7e2a67dc38b7d2b886a6ee8960.tar.gz
cpython-5a493e9dc4f83e7e2a67dc38b7d2b886a6ee8960.tar.bz2
Merge issue #27196 from 3.5: Stop IDLE test 'application destroyed' warnings.
Diffstat (limited to 'Lib/idlelib/idle_test/test_parenmatch.py')
-rw-r--r--Lib/idlelib/idle_test/test_parenmatch.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/Lib/idlelib/idle_test/test_parenmatch.py b/Lib/idlelib/idle_test/test_parenmatch.py
index 794a3aa..d467a9a 100644
--- a/Lib/idlelib/idle_test/test_parenmatch.py
+++ b/Lib/idlelib/idle_test/test_parenmatch.py
@@ -1,6 +1,8 @@
-"""Test idlelib.parenmatch."""
-# This must currently be a gui test because ParenMatch methods use
-# several text methods not defined on idlelib.idle_test.mock_tk.Text.
+'''Test idlelib.parenmatch.
+
+This must currently be a gui test because ParenMatch methods use
+several text methods not defined on idlelib.idle_test.mock_tk.Text.
+'''
from test.support import requires
requires('gui')
@@ -29,6 +31,7 @@ class ParenMatchTest(unittest.TestCase):
@classmethod
def tearDownClass(cls):
del cls.text, cls.editwin
+ cls.root.update_idletasks()
cls.root.destroy()
del cls.root