Change allows tests/unix/ffi_float.py to pass on OSX
This commit is contained in:
parent
2234c3f23d
commit
4f449120e1
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue