[issue11049] add tests for test.support

R. David Murray report at bugs.python.org
Wed Feb 23 05:25:38 CET 2011


R. David Murray <rdmurray at 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 <report at bugs.python.org>
<http://bugs.python.org/issue11049>
_______________________________________


More information about the Python-bugs-list mailing list