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.
pull/1/head
Damien George 2018-06-06 13:24:09 +10:00
parent 6c02da2eec
commit 5ef0d2ab14
6 changed files with 6 additions and 28 deletions

View File

@ -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")

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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