diff --git a/tests/unix/ffi_float.py b/tests/unix/ffi_float.py index 96a5ceeca6..15af9d3276 100644 --- a/tests/unix/ffi_float.py +++ b/tests/unix/ffi_float.py @@ -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))