Message277609
Is this suitable?
def test_find(self):
# to track that at least one call to find_library() found something
found = false
for name in ("c", "m"):
lib = find_library(name)
if lib:
found = true
cdll.LoadLibrary(lib)
CDLL(lib)
# test is FAILED if nothing was found
self.assertTrue(found) |
|
Date |
User |
Action |
Args |
2016-09-28 12:39:39 | Michael.Felt | set | recipients:
+ Michael.Felt, martin.panter |
2016-09-28 12:39:39 | Michael.Felt | set | messageid: <1475066379.6.0.0729756630026.issue28276@psf.upfronthosting.co.za> |
2016-09-28 12:39:39 | Michael.Felt | link | issue28276 messages |
2016-09-28 12:39:39 | Michael.Felt | create | |
|