[issue5408] test_osx_env failing

Ronald Oussoren report at bugs.python.org
Wed Mar 4 23:06:08 CET 2009


Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

Ned: IMHO your patch is not correct. test_osx_env tests behaviour that's 
only valid for a framework build, and should therefore only run when 
testing a framework build.

The easiest way to accomplish that is to change the test in 
test_osx_env.main to:

   if sys.platform == 'darwin' and 
sysconfig.get_config_var('WITH_NEXT_FRAMEWORK'):

(with an "from distutils import sysconfig" statement just above the 
test).

I will commit this fix when I've actually tested it.

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


More information about the Python-bugs-list mailing list