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
|
||||
|
||||
try:
|
||||
try:
|
||||
import uos_vfs as uos
|
||||
open = uos.vfs_open
|
||||
except ImportError:
|
||||
import uos
|
||||
import uos
|
||||
uos.mount
|
||||
except (ImportError, AttributeError):
|
||||
print("SKIP")
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
try:
|
||||
import uerrno
|
||||
try:
|
||||
import uos_vfs as uos
|
||||
open = uos.vfs_open
|
||||
except ImportError:
|
||||
import uos
|
||||
import uos
|
||||
except ImportError:
|
||||
print("SKIP")
|
||||
raise SystemExit
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
try:
|
||||
import uerrno
|
||||
try:
|
||||
import uos_vfs as uos
|
||||
open = uos.vfs_open
|
||||
except ImportError:
|
||||
import uos
|
||||
import uos
|
||||
except ImportError:
|
||||
print("SKIP")
|
||||
raise SystemExit
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
import uerrno
|
||||
try:
|
||||
try:
|
||||
import uos_vfs as uos
|
||||
open = uos.vfs_open
|
||||
except ImportError:
|
||||
import uos
|
||||
import uos
|
||||
except ImportError:
|
||||
print("SKIP")
|
||||
raise SystemExit
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
try:
|
||||
import uerrno
|
||||
try:
|
||||
import uos_vfs as uos
|
||||
except ImportError:
|
||||
import uos
|
||||
import uos
|
||||
except ImportError:
|
||||
print("SKIP")
|
||||
raise SystemExit
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
try:
|
||||
import uerrno
|
||||
try:
|
||||
import uos_vfs as uos
|
||||
except ImportError:
|
||||
import uos
|
||||
import uos
|
||||
except ImportError:
|
||||
print("SKIP")
|
||||
raise SystemExit
|
||||
|
|
Loading…
Reference in New Issue