tests/extmod: Remove conditional import of uos_vfs, it no longer exists.
This conditional import was only used to get the tests working on the unix coverage build, which has now switched to use VFS by default so the uos module alone has the required functionality.
This commit is contained in:
parent
6c02da2eec
commit
5ef0d2ab14
@ -1,11 +1,7 @@
|
|||||||
# test VFS functionality without any particular filesystem type
|
# test VFS functionality without any particular filesystem type
|
||||||
|
|
||||||
try:
|
try:
|
||||||
try:
|
import uos
|
||||||
import uos_vfs as uos
|
|
||||||
open = uos.vfs_open
|
|
||||||
except ImportError:
|
|
||||||
import uos
|
|
||||||
uos.mount
|
uos.mount
|
||||||
except (ImportError, AttributeError):
|
except (ImportError, AttributeError):
|
||||||
print("SKIP")
|
print("SKIP")
|
||||||
|
@ -1,10 +1,6 @@
|
|||||||
try:
|
try:
|
||||||
import uerrno
|
import uerrno
|
||||||
try:
|
import uos
|
||||||
import uos_vfs as uos
|
|
||||||
open = uos.vfs_open
|
|
||||||
except ImportError:
|
|
||||||
import uos
|
|
||||||
except ImportError:
|
except ImportError:
|
||||||
print("SKIP")
|
print("SKIP")
|
||||||
raise SystemExit
|
raise SystemExit
|
||||||
|
@ -1,10 +1,6 @@
|
|||||||
try:
|
try:
|
||||||
import uerrno
|
import uerrno
|
||||||
try:
|
import uos
|
||||||
import uos_vfs as uos
|
|
||||||
open = uos.vfs_open
|
|
||||||
except ImportError:
|
|
||||||
import uos
|
|
||||||
except ImportError:
|
except ImportError:
|
||||||
print("SKIP")
|
print("SKIP")
|
||||||
raise SystemExit
|
raise SystemExit
|
||||||
|
@ -1,10 +1,6 @@
|
|||||||
import uerrno
|
import uerrno
|
||||||
try:
|
try:
|
||||||
try:
|
import uos
|
||||||
import uos_vfs as uos
|
|
||||||
open = uos.vfs_open
|
|
||||||
except ImportError:
|
|
||||||
import uos
|
|
||||||
except ImportError:
|
except ImportError:
|
||||||
print("SKIP")
|
print("SKIP")
|
||||||
raise SystemExit
|
raise SystemExit
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
try:
|
try:
|
||||||
import uerrno
|
import uerrno
|
||||||
try:
|
import uos
|
||||||
import uos_vfs as uos
|
|
||||||
except ImportError:
|
|
||||||
import uos
|
|
||||||
except ImportError:
|
except ImportError:
|
||||||
print("SKIP")
|
print("SKIP")
|
||||||
raise SystemExit
|
raise SystemExit
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
try:
|
try:
|
||||||
import uerrno
|
import uerrno
|
||||||
try:
|
import uos
|
||||||
import uos_vfs as uos
|
|
||||||
except ImportError:
|
|
||||||
import uos
|
|
||||||
except ImportError:
|
except ImportError:
|
||||||
print("SKIP")
|
print("SKIP")
|
||||||
raise SystemExit
|
raise SystemExit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user