Message166207
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. |
|
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 | |
|