summaryrefslogtreecommitdiff
path: root/tests/extmod/vfs_fat_oldproto.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/extmod/vfs_fat_oldproto.py')
-rw-r--r--tests/extmod/vfs_fat_oldproto.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/extmod/vfs_fat_oldproto.py b/tests/extmod/vfs_fat_oldproto.py
index 73983567d..b43fbd286 100644
--- a/tests/extmod/vfs_fat_oldproto.py
+++ b/tests/extmod/vfs_fat_oldproto.py
@@ -34,7 +34,7 @@ class RAMFS_OLD:
try:
- bdev = RAMFS_OLD(48)
+ bdev = RAMFS_OLD(50)
except MemoryError:
print("SKIP")
sys.exit()
@@ -57,7 +57,3 @@ print(vfs.listdir())
# umount by device
uos.vfs_umount(bdev)
-try:
- vfs.listdir()
-except OSError as e:
- print(e.args[0] == uerrno.ENODEV)