mirror of https://github.com/python/cpython.git
gh-117657: Add test_thread_local_bytecode to TSAN tests (gh-129753)
Skip `test_no_copies_if_tlbc_disabled` when run under TSAN for now due to a data race on the adaptive counter (see gh-129752).
This commit is contained in:
parent
f151d27159
commit
1a8082a4bf
|
@ -21,6 +21,7 @@
|
|||
'test_ssl',
|
||||
'test_syslog',
|
||||
'test_thread',
|
||||
'test_thread_local_bytecode',
|
||||
'test_threadedtempfile',
|
||||
'test_threading',
|
||||
'test_threading_local',
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue