Message129155
I agree that the docs for import_fresh_module are confusing. The code says there are sanity checks in test_heapq and test_warnings, so that code could presumably be used as a model for someone to develop a more complete stand-alone test (I haven't looked for that code myself). I'm not sure why we have both import_fresh_module and CleanImport, since they seem to do similar things (but differently!)
I started making comments on other tests and then realized it wasn't much more work to just update them myself. Extended patch attached. |
|
Date |
User |
Action |
Args |
2011-02-23 04:25:38 | r.david.murray | set | recipients:
+ r.david.murray, brett.cannon, ncoghlan, pitrou, giampaolo.rodola, ezio.melotti, eli.bendersky |
2011-02-23 04:25:38 | r.david.murray | set | messageid: <1298435138.64.0.991710432608.issue11049@psf.upfronthosting.co.za> |
2011-02-23 04:25:38 | r.david.murray | link | issue11049 messages |
2011-02-23 04:25:38 | r.david.murray | create | |
|