Message81342
I noticed that it would be nice to have a temporary directory context
manager while trying to fix a broken unittest. The attached patch
provides a pretty minimal implementation. There appears to be lots of
unit tests that could use such a thing (just search for "rmtree").
I'm not sure if TemporaryDirectory is the best name. Also, perhaps it
should have a __del__ method although that's tricky business. |
|
| Date |
User |
Action |
Args |
| 2009-02-07 17:54:21 | nascheme | set | recipients:
+ nascheme, ncoghlan |
| 2009-02-07 17:54:21 | nascheme | set | messageid: <[email protected]> |
| 2009-02-07 17:54:19 | nascheme | link | issue5178 messages |
| 2009-02-07 17:54:18 | nascheme | create | |
|