-
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: 'FakeFcntlModule' object has no attribute 'LOCK_SH' (Also 'LOCK_UN' and 'LOCK_EX') #1074
Comments
Thanks! I can't think of any changes in the last version that would cause that, but obviously there is something I miss... |
Ok, found the problem - I did indeed miss this during the review, and there was no test in place that caught that.. |
- had been removed accidentally in 5.7.0 - fixes pytest-dev#1074
Should be fixed in main now, please check! |
I confirmed that it now works as expect. Thanks for the quick fix! |
FYI: I made the patch release yesterday. |
Describe the bug
After updating from pyfakefs 5.6.0 to 5.7.0 the following error occurs on
flock
withfcntl.LOCK_SH
,fcntl.LOCK_UN
andLOCK_EX
.The error does not occur on version 5.6.0
How To Reproduce
Your environment
Please run the following in the environment where the problem happened and
paste the output.
The text was updated successfully, but these errors were encountered: