Skip to content
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

Merged
merged 2 commits into from Nov 7, 2019
Merged

Conversation

corona10
Copy link
Member

@corona10 corona10 commented Oct 31, 2019

Before working on bpo-22367, I 'd like to add unit test for fcntl.lockf

https://bugs.python.org/issue22367

Lib/test/test_fcntl.py Outdated Show resolved Hide resolved
@@ -12,7 +12,6 @@
fcntl = import_module('fcntl')


# TODO - Write tests for flock() and lockf().
Copy link
Member

@serhiy-storchaka serhiy-storchaka Oct 31, 2019

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?

Copy link
Member Author

@corona10 corona10 Oct 31, 2019

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

@corona10
Copy link
Member Author

@corona10 corona10 commented Oct 31, 2019

@serhiy-storchaka serhiy-storchaka merged commit befa032 into python:master Nov 7, 2019
4 checks passed
@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Nov 7, 2019

Thanks @corona10 for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒🤖

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Nov 7, 2019

Thanks @corona10 for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒🤖

@bedevere-bot
Copy link

@bedevere-bot bedevere-bot commented Nov 7, 2019

GH-17084 is a backport of this pull request to the 3.8 branch.

@bedevere-bot
Copy link

@bedevere-bot bedevere-bot commented Nov 7, 2019

GH-17085 is a backport of this pull request to the 3.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this issue Nov 7, 2019
(cherry picked from commit befa032)

Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
miss-islington added a commit that referenced this issue Nov 9, 2019
(cherry picked from commit befa032)

Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
miss-islington added a commit that referenced this issue Nov 9, 2019
(cherry picked from commit befa032)

Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
jacksonriley pushed a commit to jacksonriley/cpython that referenced this issue Nov 18, 2019
jacobneiltaylor pushed a commit to jacobneiltaylor/cpython that referenced this issue Dec 5, 2019
shihai1991 pushed a commit to shihai1991/cpython that referenced this issue Jan 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA signed skip news tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants