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
Labels
Comments
Thanks for the report - I will have a look! |
mrbean-bremen
added a commit
to mrbean-bremen/pyfakefs
that referenced
this issue
May 17, 2018
mrbean-bremen
added a commit
to mrbean-bremen/pyfakefs
that referenced
this issue
May 17, 2018
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! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: