diff options
author | Victor Stinner <vstinner@python.org> | 2021-06-29 00:03:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-29 00:03:30 (GMT) |
commit | 48e3a1d95aee013974121fcafe19816c0e9a41da (patch) | |
tree | 16cafd637abb76ad29191346afb9790bc82227c8 /Modules | |
parent | dcb1caef5bd8e90e1ecb4c07d7114e51b49fe37a (diff) | |
download | cpython-48e3a1d95aee013974121fcafe19816c0e9a41da.zip cpython-48e3a1d95aee013974121fcafe19816c0e9a41da.tar.gz cpython-48e3a1d95aee013974121fcafe19816c0e9a41da.tar.bz2 |
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 'Modules')
-rw-r--r-- | Modules/_testcapimodule.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c index b983dee..7ac0e84 100644 --- a/Modules/_testcapimodule.c +++ b/Modules/_testcapimodule.c @@ -4300,8 +4300,6 @@ temporary_c_thread(void *data) PyGILState_Release(state); PyThread_release_lock(test_c_thread->exit_event); - - PyThread_exit_thread(); } static PyObject * |