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

This commit is contained in:
Kumar Aditya 2025-03-30 16:38:42 +05:30 committed by GitHub
parent 46ada1e5e0
commit eaffc34d3c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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):