https://github.com/python/cpython/commit/eaffc34d3ce38710d633f7246d3e15aaddee63d1
commit: eaffc34d3ce38710d633f7246d3e15aaddee63d1
branch: main
author: Kumar Aditya <kumaradi...@python.org>
committer: kumaraditya303 <kumaradi...@python.org>
date: 2025-03-30T11:08:42Z
summary:

gh-127945: mark `TestLocalization` as thread unsafe in ctypes (#131899)

files:
M Lib/test/test_ctypes/test_dlerror.py

diff --git a/Lib/test/test_ctypes/test_dlerror.py 
b/Lib/test/test_ctypes/test_dlerror.py
index 1c1b2aab3d589e..8af34e62b94faa 100644
--- a/Lib/test/test_ctypes/test_dlerror.py
+++ b/Lib/test/test_ctypes/test_dlerror.py
@@ -120,7 +120,7 @@ def test_null_dlsym(self):
             # Assert that the IFUNC was called
             self.assertEqual(os.read(pipe_r, 2), b'OK')
 
-
+@test.support.thread_unsafe('setlocale is not thread-safe')
 @unittest.skipUnless(os.name != 'nt', 'test requires dlerror() calls')
 class TestLocalization(unittest.TestCase):
 

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: arch...@mail-archive.com

Reply via email to