tests: Improve feature detection for VFS.
This commit is contained in:
parent
a8736e5c36
commit
7c98c6b053
@ -1,4 +1,3 @@
|
|||||||
import uerrno
|
|
||||||
try:
|
try:
|
||||||
import uos
|
import uos
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
# test VFS functionality with a user-defined filesystem
|
# test VFS functionality with a user-defined filesystem
|
||||||
# also tests parts of uio.IOBase implementation
|
# also tests parts of uio.IOBase implementation
|
||||||
|
|
||||||
import sys, uio
|
import sys
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
import uio
|
||||||
uio.IOBase
|
uio.IOBase
|
||||||
import uos
|
import uos
|
||||||
uos.mount
|
uos.mount
|
||||||
|
Loading…
x
Reference in New Issue
Block a user