[Python-checkins] r45688 - python/trunk/Lib/test/test_tcl.py

thomas.wouters python-checkins at python.org
Mon Apr 24 13:37:13 CEST 2006


Author: thomas.wouters
Date: Mon Apr 24 13:37:13 2006
New Revision: 45688

Modified:
   python/trunk/Lib/test/test_tcl.py
Log:

Stop test_tcl's testLoadTk from leaking the Tk commands 'loadtk' registers.



Modified: python/trunk/Lib/test/test_tcl.py
==============================================================================
--- python/trunk/Lib/test/test_tcl.py	(original)
+++ python/trunk/Lib/test/test_tcl.py	Mon Apr 24 13:37:13 2006
@@ -124,6 +124,7 @@
         self.assertRaises(TclError,tcl.winfo_geometry)
         tcl.loadtk()
         self.assertEqual('1x1+0+0', tcl.winfo_geometry())
+        tcl.destroy()
 
     def testLoadTkFailure(self):
         import os


More information about the Python-checkins mailing list