mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
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
2 changed files with 2 additions and 0 deletions
|
@ -109,6 +109,7 @@ class TLBCTests(unittest.TestCase):
|
|||
""")
|
||||
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…
Add table
Add a link
Reference in a new issue