summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test/test_textview.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_textview.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_textview.py')
-rw-r--r--Lib/idlelib/idle_test/test_textview.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/idlelib/idle_test/test_textview.py b/Lib/idlelib/idle_test/test_textview.py
index 084928f..4c70ebb 100644
--- a/Lib/idlelib/idle_test/test_textview.py
+++ b/Lib/idlelib/idle_test/test_textview.py
@@ -1,4 +1,4 @@
-'''Test the functions and main class method of textview.py.
+'''Test idlelib.textview.
Since all methods and functions create (or destroy) a TextViewer, which
is a widget containing multiple widgets, all tests must be gui tests.
@@ -24,6 +24,7 @@ def setUpModule():
def tearDownModule():
global root, TV
del TV
+ root.update_idletasks()
root.destroy() # pyflakes falsely sees root as undefined
del root