Skip to content

Commit 9884ec1

Browse files
committed
Always run test, not just under ASAN
1 parent 338f32d commit 9884ec1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Lib/test/string_tests.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
import unittest, string, sys, struct
66
from test import support
7-
from test.support import check_sanitizer
87
from test.support import import_helper
98
from collections import UserList
109
import random
@@ -768,7 +767,6 @@ def test_replace(self):
768767
self.checkraises(TypeError, 'hello', 'replace', 42, 'h')
769768
self.checkraises(TypeError, 'hello', 'replace', 'h', 42)
770769

771-
@unittest.skipUnless(check_sanitizer(address=True), "AddressSanitizer required")
772770
def test_replacement_on_buffer_boundary(self):
773771
# gh-127971: Check we don't read past the end of the buffer when a
774772
# potential match misses on the last character.

0 commit comments

Comments
 (0)