Skip to content

Commit 07f2ff4

Browse files
Update Lib/test/test_str.py
Co-authored-by: Stan Ulbrych <stan@python.org>
1 parent 724cf80 commit 07f2ff4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/test/test_str.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -609,6 +609,7 @@ def test_replace_id(self):
609609

610610
@support.cpython_only
611611
@unittest.skipIf(_testcapi is None, reason="_testcapi is required for this test")
612+
@unittest.skipIf(support.Py_TRACE_REFS, 'cannot test Py_TRACE_REFS build')
612613
def test_replace_oom(self):
613614
# https://github.com/python/cpython/issues/152228
614615
s1 = "轘" * 4

0 commit comments

Comments
 (0)