micropython/tests/extmod/vfs_posix.py.exp
stijn 9ae8d38204 extmod/vfs_posix_file: Implement finaliser for files.
Prevent handle leaks when file objects aren't closed explicitly and
fix some MICROPY_CPYTHON_COMPAT issues: this wasn't properly adhered
to because #ifdef was used so it was always on, and closing files
multiple times should be avoided unconditionally.
2022-09-19 23:44:50 +10:00

17 lines
203 B
Plaintext

/
True
<class 'tuple'>
<class 'list'>
<io.TextIOWrapper 2>
hello
next_file_no <= base_file_no True
['test2']
['test2']
<class 'tuple'>
<class 'str'>
<class 'bytes'>
[]
remove OSError
False
rmdir OSError