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

This commit is contained in:
blmorris 2014-09-24 11:50:43 -04:00 committed by Damien George
parent 2234c3f23d
commit 4f449120e1

View File

@ -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))