-
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
AttributeError: 'FakePipeWrapper' object has no attribute 'readable' #650
Comments
Hm, can you show your actual test, or a minimal reproducible example? Are you using |
Ok, I wanted to contribute to this library https://github.com/okta/okta-sdk-python, so I tried to run tests if everything is fine, you can check tests/integration folder |
Ok, I will check if I can reproduce it, thanks. |
What OS you are using? I'm currently under Windows, and here this is not reproducible with the same environment. |
MacOS 10.15.17 |
Ok, I just checked their own CI tests which use the same versions under Ubuntu and also work, so I guess this is a MacOS-specific problem. Unfortunately, I don't have a Mac, so I'm not sure how to reproduce this, but I'm afraid it has to with |
I checked the code, and I may actually be able to fix this - maybe all it takes is to patch a couple of functions for the fake pipe. I cannot guarantee that it will work after the fix, but we can try it. |
@mrbean-bremen ok, anyway, thank you for the fast response |
- add readable, writable and seekable - see #650
@MasterSergius - can you please check how it behaves with pyfakefs master? |
@mrbean-bremen Looks fine, it works |
Ok, thanks - do you need a patch release? |
No, I can use it now, so you can release when u're ready to. |
Ok, thanks - closing this then. |
Hi @mrbean-bremen, thanks for your amazing work! |
I can make a patch release tonight, if you need it. |
That would be great, thanks a lot! |
Ok, done. |
Describe the bug
I have a set of tests using fake fs and vcr cassetess. When I try to run it, I have the following error:
This error appeared when I tried to run tests in a bit newer environment:
It works within the following (older) environment:
How To Reproduce
pytest --record-mode=once tests
The text was updated successfully, but these errors were encountered: