[issue28276] test_loading.py - false positive result for "def test_find" when find_library() is not functional or the (shared) library does not exist
Michael Felt
report at bugs.python.org
Sun Feb 2 06:05:06 EST 2020
Michael Felt <aixtools at felt.demon.nl> added the comment:
This is something from long long ago - time to get it completed.
The (remaining) issue is: "c" and "m" may not be shared libraries - so nothing is ever found and the test is "skipped" but reports itself as PASSED.
The original issue (fixed for AIX in Python3.7) would be if find_library itself is broken and always returns NULL/None.
Again, the tests says "PASSED" when actually it was skipped.
Following this - Martin's suggestion seems a viable solution.
----------
type: -> behavior
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue28276>
_______________________________________
More information about the Python-bugs-list
mailing list