mirror of
https://github.com/python/cpython.git
synced 2025-07-23 03:05:38 +00:00
gh-111178: Skip tests which require deep stack if UBsan (#131669)
If Python is built with Undefined Behavior sanitizer, skip test_repr_deep() of test_userdict and test_lru_recursion() of test_functools.
This commit is contained in:
parent
6226edc48b
commit
b3319fe42f
2 changed files with 2 additions and 1 deletions
|
@ -624,6 +624,7 @@ class TestHashMappingProtocol(TestMappingProtocol):
|
|||
|
||||
@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()):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue