Commit 4f449120 authored by blmorris's avatar blmorris Committed by Damien George
Browse files

Change allows tests/unix/ffi_float.py to pass on OSX

parent 2234c3f2
......@@ -12,7 +12,7 @@ def ffi_open(names):
err = e
raise err
libc = ffi_open(('libc.so', 'libc.so.0', 'libc.so.6'))
libc = ffi_open(('libc.so', 'libc.so.0', 'libc.so.6', 'libc.dylib'))
strtof = libc.func("f", "strtof", "sp")
print('%.6f' % strtof('1.23', None))
......
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