You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FileNotFoundError: [WinError 3] The system cannot find the path specified: '\fakeroot\fakefolder\fake_file.txt' -> '\fakeroot\fakefolder2\fake_file.txt'
Am I doing something wrong or does pyfakefs not support this os method? The very same function works as intended on a real file system.
This can be reproduced with different Python versions.
The text was updated successfully, but these errors were encountered:
This is copied from stackoverflow:
Here's a simple piece of code I wanted to test:
When running this using pytest, everything seems to work. However, if I switch 6th line to
renames
:I get
Am I doing something wrong or does pyfakefs not support this os method? The very same function works as intended on a real file system.
This can be reproduced with different Python versions.
The text was updated successfully, but these errors were encountered: