summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test/test_textview.py
diff options
context:
space:
mode:
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 1a75e95..02d1472 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