22.08.13 14:48, Victor Stinner написав(ла):
You forgot self.addCleanup(unlink, TESTFN) (here and in other places).
These functions call write_testfile() which creates the file but also
schedules its removal when the test is done (since my changeset):
def write_testfile(self):
# NB the first 4 lines are also used to test input, below
fp = open(TESTFN, 'w')
self.addCleanup(unlink, TESTFN)
...
Oh, sorry.
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com