Message170672
| Author |
chris.jerdonek |
| Recipients |
chris.jerdonek, r.david.murray, trent |
| Date |
2012年09月18日.19:55:02 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1347998106.95.0.403096142985.issue15967@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
To follow up on David's comment, the unit tests in the test suite aren't consistent in their treatment of temp directories (e.g. they don't use a common API or code path). So it may be hard to address this globally short of wiping the entire temp directory (though I could be wrong).
I have a patch in issue 15415 to add a temp_dir() context manager to test.support (and consolidate with script_helper's) that would do such clean-up. The module already has a temp_cwd(), but that context manager serves two purposes. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年09月18日 19:55:14 | chris.jerdonek | set | recipients:
+ chris.jerdonek, trent, r.david.murray |
| 2012年09月18日 19:55:06 | chris.jerdonek | set | messageid: <1347998106.95.0.403096142985.issue15967@psf.upfronthosting.co.za> |
| 2012年09月18日 19:55:05 | chris.jerdonek | link | issue15967 messages |
| 2012年09月18日 19:55:02 | chris.jerdonek | create |
|