[issue7055] Automatic test___all__

R. David Murray report at bugs.python.org
Sun Oct 4 21:16:22 CEST 2009


R. David Murray <rdmurray at bitdance.com> added the comment:

For os.environ, wouldn't it be better to fix the tests so that they
don't disturb the environment?  Even if the CGIHTTPServer legitimately
modifies the environment, shouldn't it be the responsibility of its test
suite to wrap it so that the environment isn't modified when the tests
are done?

What _would_ be good, IMO, would be if regrtest would check for
modifications and complain.  Then we wouldn't have to wait until another
test was impacted by the bad test to catch it.

----------
nosy: +r.david.murray

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7055>
_______________________________________


More information about the Python-bugs-list mailing list