From eaffc34d3ce38710d633f7246d3e15aaddee63d1 Mon Sep 17 00:00:00 2001 From: Kumar Aditya Date: Sun, 30 Mar 2025 16:38:42 +0530 Subject: gh-127945: mark `TestLocalization` as thread unsafe in ctypes (#131899) --- Lib/test/test_ctypes/test_dlerror.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_ctypes/test_dlerror.py b/Lib/test/test_ctypes/test_dlerror.py index 1c1b2aa..8af34e6 100644 --- a/Lib/test/test_ctypes/test_dlerror.py +++ b/Lib/test/test_ctypes/test_dlerror.py @@ -120,7 +120,7 @@ class TestNullDlsym(unittest.TestCase): # 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): -- cgit v0.12