mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 11:40:18 +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
|
||||
import sys
|
||||
try:
|
||||
import ffi
|
||||
except ImportError:
|
||||
print("SKIP")
|
||||
sys.exit()
|
||||
|
||||
import ffi
|
||||
|
||||
def ffi_open(names):
|
||||
err = None
|
||||
|
||||
Reference in New Issue
Block a user