Kaydet (Commit) 0f032a04 authored tarafından Serhiy Storchaka's avatar Serhiy Storchaka

Always handle non-handled events before destoying root widget in tests.

This gets rid of  Tcl warnings when they are handled later when the root is
already destroyed.
......@@ -22,6 +22,7 @@ class AbstractTkTest:
@classmethod
def tearDownClass(cls):
cls.root.update_idletasks()
cls.root.destroy()
cls.root = None
tkinter._default_root = None
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment