aboutsummaryrefslogtreecommitdiff
path: root/Programs
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-06-29 02:03:30 +0200
committerGitHub <noreply@github.com>2021-06-29 02:03:30 +0200
commit48e3a1d95aee013974121fcafe19816c0e9a41da (patch)
tree16cafd637abb76ad29191346afb9790bc82227c8 /Programs
parentdcb1caef5bd8e90e1ecb4c07d7114e51b49fe37a (diff)
downloadcpython3-48e3a1d95aee013974121fcafe19816c0e9a41da.tar.gz
bpo-44434: Remove useless calls to PyThread_exit_thread() (GH-26943)
Remove useless calls to PyThread_exit_thread() in two unit tests of _testcapi and _testembed modules. Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
Diffstat (limited to 'Programs')
-rw-r--r--Programs/_testembed.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Programs/_testembed.c b/Programs/_testembed.c
index d963cb3dc7..64a8714db0 100644
--- a/Programs/_testembed.c
+++ b/Programs/_testembed.c
@@ -269,8 +269,6 @@ static void bpo20891_thread(void *lockp)
PyGILState_Release(state);
PyThread_release_lock(lock);
-
- PyThread_exit_thread();
}
static int test_bpo20891(void)