-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect behavior for pathlib.Path.resolve()
when path does not exist
#401
Comments
Thanks for the report - I will have a look! |
Interestingly enough, there had been a test in place for this, but it had an error - instead of the intended |
Thanks for being so responsive! |
In the following test suite, the test that does not use the
fs
fixture succeeds while the test that does use thefs
fixture fails:Here is a snippet of the results:
From the documentation (https://docs.python.org/3/library/pathlib.html#pathlib.Path.resolve):
A similar bug existed in Python itself, but was fixed in version 3.6.2.
Environment
OS: CentOS Linux release 7.3.1611 (Core)
Python: 3.6.5
pyfakefs: 3.4.1
The text was updated successfully, but these errors were encountered: