]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-89898: Fix test_threading.test_args_argument() (#92885)
authorVictor Stinner <vstinner@python.org>
Tue, 17 May 2022 22:19:56 +0000 (00:19 +0200)
committerGitHub <noreply@github.com>
Tue, 17 May 2022 22:19:56 +0000 (00:19 +0200)
commit970efae274538f9910e8f9b31bc890f1b7666b0f
tree979ee87e5a626024a8158604fa7a449d2c2acd4a
parent13058323621bfb1776fc39948a4096c76f8cbc81
gh-89898: Fix test_threading.test_args_argument() (#92885)

Join the thread to not leak threads running in the background to the
next test.

Fix the following warning on the "AMD64 FreeBSD Shared 3.11"
buildbot:

test_args_argument (test.test_threading.ThreadTests.test_args_argument) ...
Warning -- threading_cleanup() failed to cleanup 1 threads (count: 1, dangling: 2)
Warning -- Dangling thread: <_MainThread(MainThread, started 35026161664)>
Warning -- Dangling thread: <Thread(Thread-134 (<lambda>), started 35314998016)>
ok
Lib/test/test_threading.py