R. David Murray <rdmur...@bitdance.com> added the comment: 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. ---------- Added file: http://bugs.python.org/file20855/test_support.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11049> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com