Commit 287a5304 authored by Thomas Wouters's avatar Thomas Wouters

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

parent b9286ebd
...@@ -124,6 +124,7 @@ class TclTest(unittest.TestCase): ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment