]> granicus.if.org Git - python/commitdiff
bpo-30642: IDLE: Fix test_query refleak (#2147) (#2161)
authorterryjreedy <tjreedy@udel.edu>
Tue, 13 Jun 2017 14:11:02 +0000 (10:11 -0400)
committerGitHub <noreply@github.com>
Tue, 13 Jun 2017 14:11:02 +0000 (10:11 -0400)
Patch by Louie Lu.
(cherry picked from commit b070fd275b68df5c5ba9f6f43197b8d7066f0b18)

Lib/idlelib/idle_test/test_query.py

index 66af8eb85b2598916fb3a46c1e464f61565dfef2..1210afe70df956c38ccf9f6105d993f2da818082 100644 (file)
@@ -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