diff options
| author | Jim Mussared <jim.mussared@gmail.com> | 2022-08-18 16:57:45 +1000 |
|---|---|---|
| committer | Jim Mussared <jim.mussared@gmail.com> | 2023-06-08 17:54:24 +1000 |
| commit | 4216bc7d1351feb8199e4ebbff1a9598aa1c5b02 (patch) | |
| tree | 5085738ef65ab377c221f290c7fa90ec2acd4d29 /tests/extmod/vfs_blockdev.py | |
| parent | 5e50975a6dd9466afafbcd012c00078093fe1f57 (diff) | |
tests: Replace umodule with module everywhere.
This work was funded through GitHub Sponsors.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'tests/extmod/vfs_blockdev.py')
| -rw-r--r-- | tests/extmod/vfs_blockdev.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/extmod/vfs_blockdev.py b/tests/extmod/vfs_blockdev.py index e24169ba9..f4c84ea92 100644 --- a/tests/extmod/vfs_blockdev.py +++ b/tests/extmod/vfs_blockdev.py @@ -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) |
