summaryrefslogtreecommitdiffstatshomepage
path: root/tests/extmod/vfs_userfs.py
diff options
context:
space:
mode:
authorAyke van Laethem <aykevanlaethem@gmail.com>2018-07-20 00:49:23 +0200
committerAyke van Laethem <aykevanlaethem@gmail.com>2018-07-20 00:50:57 +0200
commit7c98c6b0536b70960870ff2e2bee24419f6d60ff (patch)
treee7543fc0bc8ce1b71f3f1559bd70438e63cf31cf /tests/extmod/vfs_userfs.py
parenta8736e5c36a7e6de842217c4edb74dfc91c97512 (diff)
downloadmicropython-7c98c6b0536b70960870ff2e2bee24419f6d60ff.tar.gz
micropython-7c98c6b0536b70960870ff2e2bee24419f6d60ff.zip
tests: Improve feature detection for VFS.
Diffstat (limited to 'tests/extmod/vfs_userfs.py')
-rw-r--r--tests/extmod/vfs_userfs.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/extmod/vfs_userfs.py b/tests/extmod/vfs_userfs.py
index e913f9748c..7f6e48cb1e 100644
--- a/tests/extmod/vfs_userfs.py
+++ b/tests/extmod/vfs_userfs.py
@@ -1,9 +1,10 @@
# test VFS functionality with a user-defined filesystem
# also tests parts of uio.IOBase implementation
-import sys, uio
+import sys
try:
+ import uio
uio.IOBase
import uos
uos.mount