Florent Xicluna <la...@yahoo.fr> added the comment: Different approach, after some other talks with Ezio and David.
Now the directory is changed before running any test. The developer can assume that the current directory if always writable. It makes the tests easier to write, and repeatable. Additionally, TESTFN always contains a single filename (without path). Before this change, it could be "/tmp/@test" or "@test", which is error-prone. The decorator becomes useless. ---------- Added file: http://bugs.python.org/file15956/issue7712_context_manager.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7712> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com