Cleanup: remove test file after it is used.

This commit is contained in:
Neal Norwitz 2004-02-29 15:37:50 +00:00
parent 738ec90ca1
commit 9a8d55e4a1
1 changed files with 1 additions and 0 deletions

View File

@ -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')