Message166207
| Author | chris.jerdonek |
|---|---|
| Recipients | chris.jerdonek, ncoghlan |
| Date | 2012-07-23.04:56:02 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1343019363.13.0.374744497293.issue15376@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
I created issue 15415 and uploaded a patch there with this issue in mind. test_runpy contains supporting _make_pkg() and _del_pkg() methods that, among other things, create and delete a temp directory. That logic would be better handled by a temp directory context manager. The patch uploaded to issue 15415 creates such a context manager and also unit-tests it. It also reduces the duplication of temp directory logic between test/script_helper.py and test/support.py. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2012-07-23 04:56:03 | chris.jerdonek | set | recipients: + chris.jerdonek, ncoghlan |
| 2012-07-23 04:56:03 | chris.jerdonek | set | messageid: <1343019363.13.0.374744497293.issue15376@psf.upfronthosting.co.za> |
| 2012-07-23 04:56:02 | chris.jerdonek | link | issue15376 messages |
| 2012-07-23 04:56:02 | chris.jerdonek | create | |