summaryrefslogtreecommitdiffstatshomepage
path: root/tests/extmod/vfs_fat_ramdisk.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-01-27 23:15:09 +1100
committerDamien George <damien.p.george@gmail.com>2017-01-27 23:22:15 +1100
commita0c729681faa3a0b1a6150d5462647bad60038bf (patch)
treed55498ad3db78a685b18a7941dbe5a73b0a50755 /tests/extmod/vfs_fat_ramdisk.py
parentbfa948c0a50c8f543c9b0751eb42cffac09656ec (diff)
downloadmicropython-a0c729681faa3a0b1a6150d5462647bad60038bf.tar.gz
micropython-a0c729681faa3a0b1a6150d5462647bad60038bf.zip
tests/extmod/vfs_fat_ramdisk: Make it work on pyboard.
Diffstat (limited to 'tests/extmod/vfs_fat_ramdisk.py')
-rw-r--r--tests/extmod/vfs_fat_ramdisk.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/extmod/vfs_fat_ramdisk.py b/tests/extmod/vfs_fat_ramdisk.py
index a9eb1679a7..dc4a1c3055 100644
--- a/tests/extmod/vfs_fat_ramdisk.py
+++ b/tests/extmod/vfs_fat_ramdisk.py
@@ -63,7 +63,7 @@ with vfs.open("foo_file.txt", "w") as f:
print(vfs.listdir())
print("stat root:", vfs.stat("/"))
-print("stat file:", vfs.stat("foo_file.txt"))
+print("stat file:", vfs.stat("foo_file.txt")[:-3]) # timestamps differ across runs
print(b"FOO_FILETXT" in bdev.data)
print(b"hello!" in bdev.data)