mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 11:40:18 +01:00
tests: Replace umodule with module everywhere.
This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
# Test for behaviour of combined standard and extended block device
|
||||
|
||||
try:
|
||||
import uos
|
||||
import os
|
||||
|
||||
uos.VfsFat
|
||||
uos.VfsLfs2
|
||||
os.VfsFat
|
||||
os.VfsLfs2
|
||||
except (ImportError, AttributeError):
|
||||
print("SKIP")
|
||||
raise SystemExit
|
||||
@@ -65,10 +65,12 @@ def test(bdev, vfs_class):
|
||||
|
||||
|
||||
try:
|
||||
import os
|
||||
|
||||
bdev = RAMBlockDevice(50)
|
||||
except MemoryError:
|
||||
print("SKIP")
|
||||
raise SystemExit
|
||||
|
||||
test(bdev, uos.VfsFat)
|
||||
test(bdev, uos.VfsLfs2)
|
||||
test(bdev, os.VfsFat)
|
||||
test(bdev, os.VfsLfs2)
|
||||
|
||||
Reference in New Issue
Block a user