micropython/tests/extmod/vfs_fat_fileio.py.exp
Damien George 5694201930 extmod/vfs_fat_file: Make file.close() a no-op if file already closed.
As per CPython semantics.  In particular, file.__del__() should not raise
an exception if the file is already closed.
2016-10-24 12:59:20 +11:00

23 lines
226 B
Plaintext

<io.TextIOWrapper >
True
True
True
True
hello!world!
12
h
e
True
d
True
True
True
True
True
b'data in file'
True
['sub_file.txt', 'file.txt']
['foo_file.txt', 'foo_dir', 'moved-to-root.txt']
['moved-to-root.txt']
ENOSPC: True