summaryrefslogtreecommitdiff
path: root/lang/micropython/files/patch-tests_unix_ffi__float.py
diff options
context:
space:
mode:
Diffstat (limited to 'lang/micropython/files/patch-tests_unix_ffi__float.py')
-rw-r--r--lang/micropython/files/patch-tests_unix_ffi__float.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/micropython/files/patch-tests_unix_ffi__float.py b/lang/micropython/files/patch-tests_unix_ffi__float.py
new file mode 100644
index 000000000000..652929c87477
--- /dev/null
+++ b/lang/micropython/files/patch-tests_unix_ffi__float.py
@@ -0,0 +1,13 @@
+Required to let pass the test "ffi_float" successfully
+
+--- tests/unix/ffi_float.py.orig 2021-09-04 05:47:22 UTC
++++ tests/unix/ffi_float.py
+@@ -17,7 +17,7 @@ def ffi_open(names):
+ raise err
+
+
+-libc = ffi_open(("libc.so", "libc.so.0", "libc.so.6", "libc.dylib"))
++libc = ffi_open(("libc.so", "libc.so.0", "libc.so.7", "libc.dylib"))
+
+ try:
+ strtof = libc.func("f", "strtof", "sp")