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

This commit is contained in:
Thomas Wouters 2006-04-24 11:37:13 +00:00
parent 03f76cfbf3
commit a6c67b56b2
1 changed files with 1 additions and 0 deletions

View File

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