From b070fd275b68df5c5ba9f6f43197b8d7066f0b18 Mon Sep 17 00:00:00 2001 From: mlouielu Date: Tue, 13 Jun 2017 20:29:44 +0800 Subject: bpo-30642: IDLE: Fix test_query refleak (#2147) Patch by Louie Lu. --- Lib/idlelib/idle_test/test_query.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/idlelib/idle_test/test_query.py b/Lib/idlelib/idle_test/test_query.py index 66af8eb..1210afe 100644 --- a/Lib/idlelib/idle_test/test_query.py +++ b/Lib/idlelib/idle_test/test_query.py @@ -258,6 +258,7 @@ class QueryGuiTest(unittest.TestCase): @classmethod def tearDownClass(cls): + del cls.dialog.destroy del cls.dialog cls.root.destroy() del cls.root -- cgit v0.12