[issue17751] ctypes/test/test_macholib.py fails when run from the installed location

Zachary Ware report at bugs.python.org
Mon Apr 13 19:27:37 CEST 2015


Zachary Ware added the comment:

Ahh.  Not quite, though; that change just changed the way unittest reports the results on non-Mac platforms.  The problem is actually here:

https://hg.python.org/cpython/file/default/Lib/ctypes/test/test_macholib.py#l34

We need a patch to try that import instead of doing it unconditionally, and adjust the existing skip decorator to check whether the import succeeded.

----------

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


More information about the Python-bugs-list mailing list