diff --git a/Lib/test/test_io/test_bufferedio.py b/Lib/test/test_io/test_bufferedio.py index e83dd0d4e28d006..a3b4f8fa076dcce 100644 --- a/Lib/test/test_io/test_bufferedio.py +++ b/Lib/test/test_io/test_bufferedio.py @@ -624,8 +624,8 @@ def test_bad_readinto_type(self): self.assertIsInstance(cm.exception.__cause__, TypeError) @unittest.skipUnless(sys.maxsize > 2**32, 'requires 64bit platform') - @unittest.skipIf(check_sanitizer(thread=True), - 'ThreadSanitizer aborts on huge allocations (exit code 66).') + @unittest.skipIf(check_sanitizer(address=True, thread=True), + 'Sanitizers abort on huge allocations.') def test_read1_error_does_not_cause_reentrant_failure(self): self.addCleanup(os_helper.unlink, os_helper.TESTFN) with self.open(os_helper.TESTFN, "wb") as f: