mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 04:00:28 +01:00
tests: Skip ffi_float.py if module ffi is not available.
This commit is contained in:
@@ -1,6 +1,11 @@
|
|||||||
# test ffi float support
|
# test ffi float support
|
||||||
|
import sys
|
||||||
|
try:
|
||||||
|
import ffi
|
||||||
|
except ImportError:
|
||||||
|
print("SKIP")
|
||||||
|
sys.exit()
|
||||||
|
|
||||||
import ffi
|
|
||||||
|
|
||||||
def ffi_open(names):
|
def ffi_open(names):
|
||||||
err = None
|
err = None
|
||||||
|
|||||||
Reference in New Issue
Block a user