-
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.copy error #105
Comments
I think, SetContents() is not the right function to be used in copyfile() in this case. |
On a second thought, I find your fix better, with the exception that there is no need to decode and encode the contents in this case. I added a small test that reproduces the problem without the fix - will put it in a PR in a second. |
Fixes issue pytest-dev#105
Closing due to @mrbean-bremen #108. |
I get an error relating to the
Hexlified
class having noencode
method, when copying binary files inside the fake filesystem, using shutil.copy. I don't have the error on hand anymore, I can regenerate it if you need. I made a very crude fix for it, but I am sure there is a better way:benureau@8e702c4
The text was updated successfully, but these errors were encountered: