summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorterryjreedy <tjreedy@udel.edu>2017-06-13 14:11:02 (GMT)
committerGitHub <noreply@github.com>2017-06-13 14:11:02 (GMT)
commit2bfb45d447c445b3c3afc19d16b4cd4773975993 (patch)
treeecd92958bed655e1efe486cad0f9ecbc4382deda
parent92e9e35292d4e2044c25970389f3cdb30cfc903a (diff)
downloadcpython-2bfb45d447c445b3c3afc19d16b4cd4773975993.zip
cpython-2bfb45d447c445b3c3afc19d16b4cd4773975993.tar.gz
cpython-2bfb45d447c445b3c3afc19d16b4cd4773975993.tar.bz2
bpo-30642: IDLE: Fix test_query refleak (#2147) (#2161)
Patch by Louie Lu. (cherry picked from commit b070fd275b68df5c5ba9f6f43197b8d7066f0b18)
-rw-r--r--Lib/idlelib/idle_test/test_query.py1
1 files changed, 1 insertions, 0 deletions
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