If Python is built with Undefined Behavior sanitizer, skip
test_repr_deep() of test_userdict and test_lru_recursion() of
test_functools.
@support.skip_wasi_stack_overflow()
@support.skip_emscripten_stack_overflow()
+ @support.skip_if_sanitizer("requires deep stack", ub=True)
def test_repr_deep(self):
d = self._empty_mapping()
for i in range(support.exceeds_recursion_limit()):
@support.skip_on_s390x
@unittest.skipIf(support.is_wasi, "WASI has limited C stack")
- @support.skip_if_sanitizer("requires deep stack", thread=True)
+ @support.skip_if_sanitizer("requires deep stack", ub=True, thread=True)
@support.skip_emscripten_stack_overflow()
def test_lru_recursion(self):