Commit 7bfe4b21 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

tests: Make be able to run on uclibc and macosx.

Similar to
parent 58056b0f
......@@ -5,7 +5,18 @@ except ImportError:
libc ="")
def ffi_open(names):
err = None
for n in names:
mod =
return mod
except OSError as e:
err = e
raise err
libc = ffi_open(('', '', '', 'libc.dylib'))
qsort = libc.func("v", "qsort", "piip")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment