Clean up the temporary file when done with it.

This commit is contained in:
Fred Drake 2000-10-23 16:59:35 +00:00
parent dce5641856
commit 2ec80faae5

View file

@ -1,3 +1,5 @@
import os
from test_support import TESTFN
from UserList import UserList
@ -43,3 +45,5 @@ except TypeError:
else:
print "writelines accepted sequence of non-string objects"
f.close()
os.unlink(TESTFN)