summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test/test_textview.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2014-07-02 01:33:31 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2014-07-02 01:33:31 (GMT)
commit092b3cf67117b3857f111bdb752e847eebd9e9b6 (patch)
treea3186ca75d2ea2f9a543253c2ee75b91745f7e2b /Lib/idlelib/idle_test/test_textview.py
parentd9de794c232078c1c024aa117e16e7367dafce13 (diff)
downloadcpython-092b3cf67117b3857f111bdb752e847eebd9e9b6.zip
cpython-092b3cf67117b3857f111bdb752e847eebd9e9b6.tar.gz
cpython-092b3cf67117b3857f111bdb752e847eebd9e9b6.tar.bz2
More idlelib cleanup inspired by pyflakes.
Diffstat (limited to 'Lib/idlelib/idle_test/test_textview.py')
-rw-r--r--Lib/idlelib/idle_test/test_textview.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/idle_test/test_textview.py b/Lib/idlelib/idle_test/test_textview.py
index a9b60ca..68e5b82 100644
--- a/Lib/idlelib/idle_test/test_textview.py
+++ b/Lib/idlelib/idle_test/test_textview.py
@@ -12,7 +12,7 @@ requires('gui')
import unittest
import os
-from tkinter import Tk, Text, TclError
+from tkinter import Tk
from idlelib import textView as tv
from idlelib.idle_test.mock_idle import Func
from idlelib.idle_test.mock_tk import Mbox
@@ -23,7 +23,7 @@ def setUpModule():
def tearDownModule():
global root
- root.destroy()
+ root.destroy() # pyflakes falsely sees root as undefined
del root