Cleanup: remove test file after it is used.
This commit is contained in:
parent
738ec90ca1
commit
9a8d55e4a1
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue