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
bpo-22367: Add test_lockf #17010
Conversation
@@ -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
@serhiy-storchaka |
Thanks @corona10 for the PR, and @serhiy-storchaka for merging it |
Thanks @corona10 for the PR, and @serhiy-storchaka for merging it |
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 <donghee.na92@gmail.com>
Before working on bpo-22367, I 'd like to add unit test for fcntl.lockf
https://bugs.python.org/issue22367