]> granicus.if.org Git - python/commitdiff
Stop test_tcl's testLoadTk from leaking the Tk commands 'loadtk' registers.
authorThomas Wouters <thomas@python.org>
Mon, 24 Apr 2006 11:37:13 +0000 (11:37 +0000)
committerThomas Wouters <thomas@python.org>
Mon, 24 Apr 2006 11:37:13 +0000 (11:37 +0000)
Lib/test/test_tcl.py

index 2eeabc1bf851db93198c632097c79b27665f06e9..e3fbf98eb7510d7b1f93c90c7617d7801762ad49 100644 (file)
@@ -124,6 +124,7 @@ class TclTest(unittest.TestCase):
         self.assertRaises(TclError,tcl.winfo_geometry)
         tcl.loadtk()
         self.assertEqual('1x1+0+0', tcl.winfo_geometry())
+        tcl.destroy()
 
     def testLoadTkFailure(self):
         import os