mirror of
https://github.com/python/cpython
synced 2026-09-29 08:05:30 +03:00
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:
parent
540f0451d2
commit
2084350685
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue