[Python-checkins] cpython (3.5): Issue #27714: text_textview now passes when re-run in the same process

terry.reedy python-checkins at python.org
Wed Aug 10 16:54:49 EDT 2016


https://hg.python.org/cpython/rev/dc31fa499359
changeset:   102609:dc31fa499359
branch:      3.5
parent:      102604:d692a116bc43
user:        Terry Jan Reedy <tjreedy at udel.edu>
date:        Wed Aug 10 16:52:24 2016 -0400
summary:
  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).

files:
  Lib/idlelib/idle_test/test_textview.py |  3 +--
  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
--- a/Lib/idlelib/idle_test/test_textview.py
+++ b/Lib/idlelib/idle_test/test_textview.py
@@ -22,8 +22,7 @@
     root = Tk()
 
 def tearDownModule():
-    global root, TV
-    del TV
+    global root
     root.update_idletasks()
     root.destroy()  # pyflakes falsely sees root as undefined
     del root

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list