summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_tcl.py
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2006-04-24 11:37:13 (GMT)
committerThomas Wouters <thomas@python.org>2006-04-24 11:37:13 (GMT)
commita6c67b56b238819215886dc2ead14787a44928ae (patch)
tree88ef234acf861ca2686b1d2d49dfab323b6d9642 /Lib/test/test_tcl.py
parent03f76cfbf39f6067cce9a26fe3512609a411ce22 (diff)
downloadcpython-a6c67b56b238819215886dc2ead14787a44928ae.zip
cpython-a6c67b56b238819215886dc2ead14787a44928ae.tar.gz
cpython-a6c67b56b238819215886dc2ead14787a44928ae.tar.bz2
Stop test_tcl's testLoadTk from leaking the Tk commands 'loadtk' registers.
Diffstat (limited to 'Lib/test/test_tcl.py')
-rw-r--r--Lib/test/test_tcl.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_tcl.py b/Lib/test/test_tcl.py
index 2eeabc1..e3fbf98 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