Browse Source

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/3846/head
Damien George 7 years ago
parent
commit
5ef0d2ab14
  1. 6
      tests/extmod/vfs_basic.py
  2. 6
      tests/extmod/vfs_fat_fileio1.py
  3. 6
      tests/extmod/vfs_fat_fileio2.py
  4. 6
      tests/extmod/vfs_fat_more.py
  5. 5
      tests/extmod/vfs_fat_oldproto.py
  6. 5
      tests/extmod/vfs_fat_ramdisk.py

6
tests/extmod/vfs_basic.py

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

6
tests/extmod/vfs_fat_fileio1.py

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

6
tests/extmod/vfs_fat_fileio2.py

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

6
tests/extmod/vfs_fat_more.py

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

5
tests/extmod/vfs_fat_oldproto.py

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

5
tests/extmod/vfs_fat_ramdisk.py

@ -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…
Cancel
Save