diff options
author | Ayke van Laethem <aykevanlaethem@gmail.com> | 2018-07-20 00:49:23 +0200 |
---|---|---|
committer | Ayke van Laethem <aykevanlaethem@gmail.com> | 2018-07-20 00:50:57 +0200 |
commit | 7c98c6b0536b70960870ff2e2bee24419f6d60ff (patch) | |
tree | e7543fc0bc8ce1b71f3f1559bd70438e63cf31cf /tests/extmod/vfs_userfs.py | |
parent | a8736e5c36a7e6de842217c4edb74dfc91c97512 (diff) | |
download | micropython-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.py | 3 |
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 |