[issue1674555] sys.path in tests contains system directories

Arfrever Frehtes Taifersar Arahesis report at bugs.python.org
Fri Jan 28 21:28:53 CET 2011


Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA at GMail.Com> added the comment:

I'm attaching the patch, which works for me.
- New, private variable (_PYTHONNOSITEPACKAGES) disables addition of site-packages directories to sys.path.
- regrtest.py always runs test_site.py in a subprocess.

----------
Added file: http://bugs.python.org/file20583/python-3.2-issue1674555.patch

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


More information about the Python-bugs-list mailing list