diff options
author | Damien George <damien.p.george@gmail.com> | 2017-01-24 20:55:05 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-01-27 13:19:10 +1100 |
commit | 94d87fbb308bf26e35cbb50f294fb06f178df871 (patch) | |
tree | 8894925e2f428c7053d39eda4c6189d7c961a7f9 /tests/extmod/vfs_fat_oldproto.py | |
parent | 5395f5bc714785ce1692881531240c4a14e4cf0c (diff) | |
download | micropython-94d87fbb308bf26e35cbb50f294fb06f178df871.tar.gz micropython-94d87fbb308bf26e35cbb50f294fb06f178df871.zip |
test/extmod: Update vfs_fat tests for new OO FatFs library.
The new version of FatFs requires a minimum of 50 blocks on the device.
Also, some tests no longer make sense with an OO vfs.
Diffstat (limited to 'tests/extmod/vfs_fat_oldproto.py')
-rw-r--r-- | tests/extmod/vfs_fat_oldproto.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/extmod/vfs_fat_oldproto.py b/tests/extmod/vfs_fat_oldproto.py index 73983567d9..b43fbd286a 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) |