Kaydet (Commit) 6d51f12c authored tarafından Guilherme Polo's avatar Guilherme Polo

Make sure the root windows gets destroyed

üst 7a77ee88
......@@ -708,10 +708,13 @@ class NotebookTest(unittest.TestCase):
class TreeviewTest(unittest.TestCase):
def setUp(self):
self.tv = ttk.Treeview()
self.root = support.get_tk_root()
self.tv = ttk.Treeview(self.root)
def tearDown(self):
self.tv.destroy()
self.root.update_idletasks()
self.root.destroy()
def test_bbox(self):
......
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