Commit 9fb36af9 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

tests/vfs_fat_ramdisk: Allow to run in native mode (don't use "with").

parent 08fed699
......@@ -63,7 +63,8 @@ assert vfs.listdir() == []
assert vfs.listdir() == ['foo_dir']
with"foo_dir/file-in-dir.txt", "w") as f:
f.write("data in file")
f ="foo_dir/file-in-dir.txt", "w")
f.write("data in file")
assert vfs.listdir("foo_dir") == ['file-in-dir.txt']
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment