[Python-Dev] cpython: Cleanup test_builtin (original) (raw)
Serhiy Storchaka storchaka at gmail.com
Thu Aug 22 16:00:03 CEST 2013
- Previous message: [Python-Dev] cpython: Cleanup test_builtin
- Next message: [Python-Dev] PEP 446 (make FD non inheritable) ready for a final review
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
22.08.13 14:48, Victor Stinner написав(ла):
You forgot self.addCleanup(unlink, TESTFN) (here and in other places). These functions call writetestfile() which creates the file but also schedules its removal when the test is done (since my changeset): def writetestfile(self): # NB the first 4 lines are also used to test input, below fp = open(TESTFN, 'w') self.addCleanup(unlink, TESTFN) ...
Oh, sorry.
- Previous message: [Python-Dev] cpython: Cleanup test_builtin
- Next message: [Python-Dev] PEP 446 (make FD non inheritable) ready for a final review
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]