summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authormlouielu <git@louie.lu>2017-06-13 12:29:44 (GMT)
committerterryjreedy <tjreedy@udel.edu>2017-06-13 12:29:44 (GMT)
commitb070fd275b68df5c5ba9f6f43197b8d7066f0b18 (patch)
treef706cb83d03639140c67c1b4828806a0021f7642 /Lib/idlelib
parent023564bf7d95f8e6a4b790491811e75ce497a071 (diff)
downloadcpython-b070fd275b68df5c5ba9f6f43197b8d7066f0b18.zip
cpython-b070fd275b68df5c5ba9f6f43197b8d7066f0b18.tar.gz
cpython-b070fd275b68df5c5ba9f6f43197b8d7066f0b18.tar.bz2
bpo-30642: IDLE: Fix test_query refleak (#2147)
Patch by Louie Lu.
Diffstat (limited to 'Lib/idlelib')
-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