This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients brett.cannon, eli.bendersky, ezio.melotti, giampaolo.rodola, ncoghlan, pitrou, r.david.murray
Date 2011-02-23.04:25:37
SpamBayes Score 2.227305e-08
Marked as misclassified No
Message-id <1298435138.64.0.991710432608.issue11049@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-02-23 04:25:38r.david.murraysetrecipients: + r.david.murray, brett.cannon, ncoghlan, pitrou, giampaolo.rodola, ezio.melotti, eli.bendersky
2011-02-23 04:25:38r.david.murraysetmessageid: <1298435138.64.0.991710432608.issue11049@psf.upfronthosting.co.za>
2011-02-23 04:25:38r.david.murraylinkissue11049 messages
2011-02-23 04:25:38r.david.murraycreate