tests/extmod/vfs_fat_more: Make skippable is uos is not available.
Fixes Zephyr tests.
This commit is contained in:
parent
cda09727b4
commit
054a381d7c
@ -1,10 +1,15 @@
|
||||
import sys
|
||||
import uerrno
|
||||
try:
|
||||
import uos_vfs as uos
|
||||
open = uos.vfs_open
|
||||
try:
|
||||
import uos_vfs as uos
|
||||
open = uos.vfs_open
|
||||
except ImportError:
|
||||
import uos
|
||||
except ImportError:
|
||||
import uos
|
||||
print("SKIP")
|
||||
sys.exit()
|
||||
|
||||
try:
|
||||
uos.VfsFat
|
||||
except AttributeError:
|
||||
|
Loading…
Reference in New Issue
Block a user