mirror of
https://github.com/python/cpython.git
synced 2025-07-29 14:15:07 +00:00
Make sure the root windows gets destroyed
This commit is contained in:
parent
7a77ee88af
commit
6d51f12c5e
1 changed files with 4 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue