Commit 2b97a91
committed
gh-157415: Skip @support.nomemtest if Python is built with TSAN
There is a known data race involving PyMem_SetAllocator(). Just skip
tests using _testcapi.set_nomemory() is Python is built with the
thread sanitizer.
Mark test_io.test_memoryio test using _testcapi.set_nomemory()
with @support.nomemtest.1 parent a60343e commit 2b97a91
2 files changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1373 | 1373 | | |
1374 | 1374 | | |
1375 | 1375 | | |
1376 | | - | |
| 1376 | + | |
| 1377 | + | |
| 1378 | + | |
| 1379 | + | |
| 1380 | + | |
1377 | 1381 | | |
1378 | 1382 | | |
1379 | 1383 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
754 | 754 | | |
755 | 755 | | |
756 | 756 | | |
| 757 | + | |
757 | 758 | | |
758 | 759 | | |
759 | 760 | | |
| |||
0 commit comments