summaryrefslogtreecommitdiffstatshomepage
path: root/tests/extmod/vfs_fat_fileio2.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/extmod/vfs_fat_fileio2.py')
-rw-r--r--tests/extmod/vfs_fat_fileio2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/extmod/vfs_fat_fileio2.py b/tests/extmod/vfs_fat_fileio2.py
index c7bdceb3df..9429f115f6 100644
--- a/tests/extmod/vfs_fat_fileio2.py
+++ b/tests/extmod/vfs_fat_fileio2.py
@@ -38,11 +38,11 @@ class RAMFS:
try:
bdev = RAMFS(50)
+ uos.VfsFat.mkfs(bdev)
except MemoryError:
print("SKIP")
raise SystemExit
-uos.VfsFat.mkfs(bdev)
vfs = uos.VfsFat(bdev)
uos.mount(vfs, "/ramdisk")
uos.chdir("/ramdisk")