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-33613: Fix test_semaphore_tracker signal tests when using -Werror #9778

Merged
merged 2 commits into from
Oct 10, 2018

Conversation

pablogsal
Copy link
Member

@pablogsal pablogsal commented Oct 9, 2018

@@ -4549,6 +4549,7 @@ def check_semaphore_tracker_death(self, signum, should_die):
os.kill(pid, signal.SIGKILL)
os.waitpid(pid, 0)
with warnings.catch_warnings(record=True) as all_warn:
warnings.simplefilter("always")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aren't the recorded warnings just ignored?

Copy link
Member

@serhiy-storchaka serhiy-storchaka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for fixing warnings!

@pablogsal pablogsal merged commit 3058b7d into python:master Oct 10, 2018
@pablogsal pablogsal deleted the 33613-2 branch October 10, 2018 07:40
@pablogsal
Copy link
Member Author

Thank you for the catch and the review :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants