-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
bpo-22367: Add test_lockf #17010
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
bpo-22367: Add test_lockf #17010
Conversation
27ebf5e
to
a9eb79d
Compare
@@ -12,7 +12,6 @@ | |||
fcntl = import_module('fcntl') | |||
|
|||
|
|||
# TODO - Write tests for flock() and lockf(). |
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.
Is the part about flock() still relevant?
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.
https://github.com/python/cpython/blob/master/Lib/test/test_fcntl.py#L127
test_flock already exists.
But if the test is not enough, the comment should be remain
99a8879
to
4138cba
Compare
@serhiy-storchaka |
Thanks @corona10 for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7. |
Thanks @corona10 for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8. |
GH-17084 is a backport of this pull request to the 3.8 branch. |
GH-17085 is a backport of this pull request to the 3.7 branch. |
(cherry picked from commit befa032) Co-authored-by: Dong-hee Na <[email protected]>
(cherry picked from commit befa032) Co-authored-by: Dong-hee Na <[email protected]>
(cherry picked from commit befa032) Co-authored-by: Dong-hee Na <[email protected]>
Before working on bpo-22367, I 'd like to add unit test for fcntl.lockf
https://bugs.python.org/issue22367