summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test/test_textview.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2016-06-04 02:19:17 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2016-06-04 02:19:17 (GMT)
commit75cbeb5dac8f4f57777f053eee257dbba5553d98 (patch)
tree9d3a48f3a70cb987e3801a110f8d5084f2bcac3b /Lib/idlelib/idle_test/test_textview.py
parent1ef8c7e886ea5260e5a6967ec2b8a4c32640f1a8 (diff)
downloadcpython-75cbeb5dac8f4f57777f053eee257dbba5553d98.zip
cpython-75cbeb5dac8f4f57777f053eee257dbba5553d98.tar.gz
cpython-75cbeb5dac8f4f57777f053eee257dbba5553d98.tar.bz2
Issue 20567: Revise idle_test/README.txt and some tests to match new advice.
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 68e5b82..1a75e95 100644
--- a/Lib/idlelib/idle_test/test_textview.py
+++ b/Lib/idlelib/idle_test/test_textview.py
@@ -22,7 +22,8 @@ def setUpModule():
root = Tk()
def tearDownModule():
- global root
+ global root, TV
+ del TV
root.destroy() # pyflakes falsely sees root as undefined
del root