diff options
Diffstat (limited to 'Lib/test/test_idle.py')
-rw-r--r-- | Lib/test/test_idle.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_idle.py b/Lib/test/test_idle.py index 819151e..7770ee5 100644 --- a/Lib/test/test_idle.py +++ b/Lib/test/test_idle.py @@ -14,6 +14,7 @@ if use_resources and 'gui' in use_resources: try: root = tk.Tk() root.destroy() + del root except tk.TclError: while 'gui' in use_resources: use_resources.remove('gui') |