From: Terry Jan Reedy Date: Wed, 10 Aug 2016 20:52:24 +0000 (-0400) Subject: Issue #27714: text_textview now passes when re-run in the same process X-Git-Tag: v3.6.0a4~30^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=208435068569e88d116d06ccd30cf9ae26619858;p=thirdparty%2FPython%2Fcpython.git 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). --- diff --git a/Lib/idlelib/idle_test/test_textview.py b/Lib/idlelib/idle_test/test_textview.py index 02d1472240ee..5fbb40cc6dfe 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