tests/extmod/vfs_lfs_ilistdir_del.py: Skip test if not enough memory.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2025-04-24 12:21:04 +10:00
parent c83e907d9d
commit a081b2e151

View File

@@ -71,5 +71,10 @@ def test(bdev, vfs_class):
fs.open("/test", "w").close()
bdev = RAMBlockDevice(30)
try:
bdev = RAMBlockDevice(30)
except MemoryError:
print("SKIP")
raise SystemExit
test(bdev, vfs.VfsLfs2)