Skip to content

bpo-30387: Fix warning in test_threading#1634

Merged
vstinner merged 1 commit intopython:masterfrom
vstinner:test_is_alive_after_fork
May 17, 2017
Merged

bpo-30387: Fix warning in test_threading#1634
vstinner merged 1 commit intopython:masterfrom
vstinner:test_is_alive_after_fork

Conversation

@vstinner
Copy link
Member

test_is_alive_after_fork() now joins directly the thread to avoid the
following warning added by bpo-30357:

Warning -- threading_cleanup() failed to cleanup 0 threads
after 2 sec (count: 0, dangling: 21)

Use also a different exit code to catch generic exit code 1.

test_is_alive_after_fork() now joins directly the thread to avoid the
following warning added by bpo-30357:

Warning -- threading_cleanup() failed to cleanup 0 threads
after 2 sec (count: 0, dangling: 21)

Use also a different exit code to catch generic exit code 1.
@mention-bot
Copy link

@Haypo, thanks for your PR! By analyzing the history of the files in this pull request, we identified @serhiy-storchaka, @tiran and @benjaminp to be potential reviewers.

@vstinner vstinner merged commit f8d05b3 into python:master May 17, 2017
@vstinner vstinner deleted the test_is_alive_after_fork branch May 17, 2017 18:58
vstinner added a commit that referenced this pull request May 17, 2017
test_is_alive_after_fork() now joins directly the thread to avoid the
following warning added by bpo-30357:

Warning -- threading_cleanup() failed to cleanup 0 threads
after 2 sec (count: 0, dangling: 21)

Use also a different exit code to catch generic exit code 1.
(cherry picked from commit f8d05b3)
vstinner added a commit that referenced this pull request May 17, 2017
test_is_alive_after_fork() now joins directly the thread to avoid the
following warning added by bpo-30357:

Warning -- threading_cleanup() failed to cleanup 0 threads
after 2 sec (count: 0, dangling: 21)

Use also a different exit code to catch generic exit code 1.
(cherry picked from commit f8d05b3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants