-
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
shutil.copystat raises AttributeError when used on symlinks #799
Labels
Comments
6 tasks
Thanks, I will have a look! |
mrbean-bremen
added a commit
to mrbean-bremen/pyfakefs
that referenced
this issue
Apr 2, 2023
- return the faked functions instead of the real ones - fixes pytest-dev#799
5 tasks
mrbean-bremen
added a commit
that referenced
this issue
Apr 3, 2023
- return the faked functions instead of the real ones - fixes #799
Shall be fixed in main now, please check! |
LGTM, thanks for the quick fix! |
It is now in the latest released version. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
shutil.copystat(s,d,follow_symlink=False) raises AttributeError while patched with fake_filesystem_unittest and when both s, d are symlinks. This looks to be related to http://github.com/pytest-dev/pyfakefs/issues/533
How To Reproduce
I'm including a PR which adds a (failing) test: http://github.com/pytest-dev/pyfakefs/pull/800
Your environment
(n.b. this fails at head, Import error above notwithstanding).
The text was updated successfully, but these errors were encountered: