Skip to content

Commit eaffc34

Browse files
gh-127945: mark TestLocalization as thread unsafe in ctypes (#131899)
1 parent 46ada1e commit eaffc34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: Lib/test/test_ctypes/test_dlerror.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def test_null_dlsym(self):
120120
# Assert that the IFUNC was called
121121
self.assertEqual(os.read(pipe_r, 2), b'OK')
122122

123-
123+
@test.support.thread_unsafe('setlocale is not thread-safe')
124124
@unittest.skipUnless(os.name != 'nt', 'test requires dlerror() calls')
125125
class TestLocalization(unittest.TestCase):
126126

0 commit comments

Comments
 (0)