summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2016-08-10 20:52:24 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2016-08-10 20:52:24 (GMT)
commit208435068569e88d116d06ccd30cf9ae26619858 (patch)
tree36697bdce55246f3ccd54a40555e7e19b51088e5
parent540f0451d282181449ae42b9325764a690bd6162 (diff)
downloadcpython-208435068569e88d116d06ccd30cf9ae26619858.zip
cpython-208435068569e88d116d06ccd30cf9ae26619858.tar.gz
cpython-208435068569e88d116d06ccd30cf9ae26619858.tar.bz2
Issue #27714: text_textview now passes when re-run in the same process
because test_idle failed while running with test -w (and no -jn).
-rw-r--r--Lib/idlelib/idle_test/test_textview.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/idlelib/idle_test/test_textview.py b/Lib/idlelib/idle_test/test_textview.py
index 02d1472..5fbb40c 100644
--- a/Lib/idlelib/idle_test/test_textview.py
+++ b/Lib/idlelib/idle_test/test_textview.py
@@ -22,8 +22,7 @@ def setUpModule():
root = Tk()
def tearDownModule():
- global root, TV
- del TV
+ global root
root.update_idletasks()
root.destroy() # pyflakes falsely sees root as undefined
del root