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).
This commit is contained in:
Terry Jan Reedy 2016-08-10 16:52:24 -04:00
parent 540f0451d2
commit 2084350685
1 changed files with 1 additions and 2 deletions

View 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