Replies: 3 comments
-
Hm, I'm not quite sure about the correct behavior. Testing this under Windows and under WSL actually gives the cwd + |
Beta Was this translation helpful? Give feedback.
-
To clarify: as far as I can see, the fake filesystem in this case behaves exactly like the real filesystem: |
Beta Was this translation helpful? Give feedback.
-
As for the original question, how to set the home directory: setting |
Beta Was this translation helpful? Give feedback.
-
Can I set the "home" folder
$HOME
on the faked filesystem?Currently
pathlib.Path('~').resolve()
does result in '/~`.Beta Was this translation helpful? Give feedback.
All reactions