diff --git a/Lib/test/libregrtest/tsan.py b/Lib/test/libregrtest/tsan.py index 1b32deec12bd75..bd7a9d0a5a675d 100644 --- a/Lib/test/libregrtest/tsan.py +++ b/Lib/test/libregrtest/tsan.py @@ -20,6 +20,7 @@ 'test_ssl', 'test_syslog', 'test_thread', + 'test_thread_local_bytecode', 'test_threadedtempfile', 'test_threading', 'test_threading_local', diff --git a/Lib/test/test_thread_local_bytecode.py b/Lib/test/test_thread_local_bytecode.py index 7a8809c5ae7697..ea52fb888ce25d 100644 --- a/Lib/test/test_thread_local_bytecode.py +++ b/Lib/test/test_thread_local_bytecode.py @@ -109,6 +109,7 @@ def f(a, b, q=None): """) assert_python_ok("-X", "tlbc=1", "-c", code) + @support.skip_if_sanitizer("gh-129752: data race on adaptive counter", thread=True) def test_no_copies_if_tlbc_disabled(self): code = textwrap.dedent(""" import queue