Henry Precheur <he...@precheur.org> added the comment:

Here's a small patch to call regression tests without any environment variable 
defined. It's probably a good thing to run all the tests with a clean state, 
this way they are less likely to fail for mysterious external reasons. For 
example test_displayhook_unencodable was failing because I was overriding 
displayhook in my PYTHONSTARTUP file.

On the other hand, some problems with environment variables might go unnoticed. 
But I don't think there's much risk.

Note that test_distutils will fail with this patch if #12420 is not taken care 
of beforehand.

----------
keywords: +patch
Added file: http://bugs.python.org/file22493/empty_environment.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12401>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to