From: Thomas Wouters Date: Mon, 24 Apr 2006 11:37:13 +0000 (+0000) Subject: Stop test_tcl's testLoadTk from leaking the Tk commands 'loadtk' registers. X-Git-Tag: v2.5a2~38 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a6c67b56b238819215886dc2ead14787a44928ae;p=thirdparty%2FPython%2Fcpython.git Stop test_tcl's testLoadTk from leaking the Tk commands 'loadtk' registers. --- diff --git a/Lib/test/test_tcl.py b/Lib/test/test_tcl.py index 2eeabc1bf851..e3fbf98eb751 100644 --- a/Lib/test/test_tcl.py +++ b/Lib/test/test_tcl.py @@ -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