]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #27714: text_textview now passes when re-run in the same process
authorTerry Jan Reedy <tjreedy@udel.edu>
Wed, 10 Aug 2016 20:52:24 +0000 (16:52 -0400)
committerTerry Jan Reedy <tjreedy@udel.edu>
Wed, 10 Aug 2016 20:52:24 +0000 (16:52 -0400)
because test_idle failed while running with test -w (and no -jn).

Lib/idlelib/idle_test/test_textview.py

index 02d1472240ee0c4e3c5db667786bd2fe06374814..5fbb40cc6dfec87d25fb9ce0fb968cecf523e1ab 100644 (file)
@@ -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