Skip to content

[3.6] bpo-30387: Fix warning in test_threading (#1634)#1636

Merged
vstinner merged 1 commit intopython:3.6from
vstinner:thread_warning_36
May 17, 2017
Merged

[3.6] bpo-30387: Fix warning in test_threading (#1634)#1636
vstinner merged 1 commit intopython:3.6from
vstinner:thread_warning_36

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.
(cherry picked from commit f8d05b3)

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 vstinner merged commit 44944b6 into python:3.6 May 17, 2017
@vstinner vstinner deleted the thread_warning_36 branch May 17, 2017 21:49
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.

2 participants