bpo-30642: IDLE: Fix test_query refleak (#2147) (#2161)

Patch by Louie Lu.
(cherry picked from commit b070fd275b)
This commit is contained in:
terryjreedy 2017-06-13 10:11:02 -04:00 committed by GitHub
parent 92e9e35292
commit 2bfb45d447

View file

@ -258,6 +258,7 @@ class QueryGuiTest(unittest.TestCase):
@classmethod @classmethod
def tearDownClass(cls): def tearDownClass(cls):
del cls.dialog.destroy
del cls.dialog del cls.dialog
cls.root.destroy() cls.root.destroy()
del cls.root del cls.root