Skip to content

Commit de64814

Browse files
committed
gh-159497: Skip test_read1_error_does_not_cause_reentrant_failure under ASan
1 parent d52dba3 commit de64814

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Lib/test/test_io/test_bufferedio.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -624,8 +624,8 @@ def test_bad_readinto_type(self):
624624
self.assertIsInstance(cm.exception.__cause__, TypeError)
625625

626626
@unittest.skipUnless(sys.maxsize > 2**32, 'requires 64bit platform')
627-
@unittest.skipIf(check_sanitizer(thread=True),
628-
'ThreadSanitizer aborts on huge allocations (exit code 66).')
627+
@unittest.skipIf(check_sanitizer(address=True, thread=True),
628+
'Sanitizers abort on huge allocations.')
629629
def test_read1_error_does_not_cause_reentrant_failure(self):
630630
self.addCleanup(os_helper.unlink, os_helper.TESTFN)
631631
with self.open(os_helper.TESTFN, "wb") as f:

0 commit comments

Comments
 (0)