Files
micropython/tests/extmod/vfs_posix_paths.py.exp
Damien George 3de5a4c63c tests/extmod/vfs_posix_paths.py: Use tuple instead of set.
So it can be used on targets without set enabled (or at least not raise a
SyntaxError when compiling it).

Signed-off-by: Damien George <damien@micropython.org>
2025-10-01 23:59:15 +10:00

24 lines
489 B
Plaintext

listdir("/"): ['subdir']
listdir("."): ['subdir']
getcwd() in ("", "/"): True
chdir("subdir"): None
getcwd(): /subdir
mkdir("two"): None
listdir("/"): ['subdir']
listdir("/subdir"): ['file.py', 'one', 'two']
listdir("."): ['file.py', 'one', 'two']
print('hello')
hello
<module 'file' from 'file.py'>
chdir("/mnt/dir"): None
getcwd(): /mnt/dir
chdir("/mnt"): None
getcwd(): /mnt
chdir("/"): None
getcwd(): /
chdir("/mnt/dir"): None
getcwd(): /mnt/dir
chdir(".."): None
getcwd(): /mnt
False