[issue12420] distutils tests fail if PATH is not defined

Henry Precheur report at bugs.python.org
Tue Jun 28 04:57:50 CEST 2011


Henry Precheur <henry at precheur.org> added the comment:

I've fixed the last failing tests, but I'm unsure it's the right way to do it.

Take a look at the part for Lib/distutils/tests/test_build_ext.py. I just check that os.environ['PATH'] is defined. I'm not 100% certain that this will work on every platforms.

----------
Added file: http://bugs.python.org/file22504/fix_distutils_tests.diff

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


More information about the Python-bugs-list mailing list