mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-117657: Skip some tests when running with TSAN (gh-131555)
The subinterpreter tests have data races (see gh-129824). TSAN attempts to intercept some of the fatal signals, which can lead to bogus reports. We could possibly handle these via TSAN_OPTIONS, but it's simpler to just skip those tests -- they're not multithreaded anyways.
This commit is contained in:
parent
b92ee14b80
commit
56d0f9af14
4 changed files with 8 additions and 1 deletions
|
@ -365,6 +365,7 @@ class CreateTests(TestBase):
|
|||
|
||||
self.assertEqual(len(seen), 100)
|
||||
|
||||
@support.skip_if_sanitizer('gh-129824: race on tp_flags', thread=True)
|
||||
def test_in_thread(self):
|
||||
lock = threading.Lock()
|
||||
id = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue