summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_tcl.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2004-02-29 15:37:50 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2004-02-29 15:37:50 (GMT)
commit9a8d55e4a1da41168d8f54c0d3dded549e2c4708 (patch)
tree09618f891f4dbd2adcb0cc6a36437b17e0f167b6 /Lib/test/test_tcl.py
parent738ec90ca14154493a88fb38728537837a45eebf (diff)
downloadcpython-9a8d55e4a1da41168d8f54c0d3dded549e2c4708.zip
cpython-9a8d55e4a1da41168d8f54c0d3dded549e2c4708.tar.gz
cpython-9a8d55e4a1da41168d8f54c0d3dded549e2c4708.tar.bz2
Cleanup: remove test file after it is used.
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 6cab2e8..f13550f 100644
--- a/Lib/test/test_tcl.py
+++ b/Lib/test/test_tcl.py
@@ -97,6 +97,7 @@ class TclTest(unittest.TestCase):
fd.write(script)
fd.close()
tcl.evalfile(filename)
+ os.remove(filename)
self.assertEqual(tcl.eval('set a'),'1')
self.assertEqual(tcl.eval('set b'),'2')
self.assertEqual(tcl.eval('set c'),'3')