-
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
Fix some problems with pathlib PosixPath/WindowsPath behavior #1055
Fix some problems with pathlib PosixPath/WindowsPath behavior #1055
Conversation
@camillobruni - I have added a commit that shall fix most of the issues, but I still got one failing test (test_real_file_with_home) under Posix and Python < 3.12, which I have disabled at the moment. |
6bea1fe
to
519dcbf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't read all of this but wanted to offer feedback for what I did see.
519dcbf
to
ef5a004
Compare
Another pair of eyes is always helpful, especially as I rarely get reviews here. Given enough eyeballs... |
Late reply back from vacation: thanks a lot for these fixes! |
ef5a004
to
68ab974
Compare
68ab974
to
f6a987f
Compare
@camillobruni - I added a workaround to get the failing test running, and I would merge this if you give your ok. Did you have a chance to test it? |
Cool, double checked locally and I got the tests working with this 👍 |
- fixes the behavior for non-current OS - fixes pytest-dev#1055
f6a987f
to
5da4438
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great work guys
Describe the changes
Adding tests to document subtle pyfakefs differences described in issue 1053
Tasks