From 2bfb45d447c445b3c3afc19d16b4cd4773975993 Mon Sep 17 00:00:00 2001 From: terryjreedy Date: Tue, 13 Jun 2017 10:11:02 -0400 Subject: [PATCH] bpo-30642: IDLE: Fix test_query refleak (#2147) (#2161) Patch by Louie Lu. (cherry picked from commit b070fd275b68df5c5ba9f6f43197b8d7066f0b18) --- 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 66af8eb85b..1210afe70d 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 -- 2.40.0