From 68f48cf4d54dc3fd54f13c86c02caefb8e5d980e Mon Sep 17 00:00:00 2001 From: fjetter Date: Fri, 10 Mar 2023 13:15:37 +0100 Subject: [PATCH] adjust limits --- distributed/tests/test_profile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/distributed/tests/test_profile.py b/distributed/tests/test_profile.py index 5e7feebf2f7..3036d127453 100644 --- a/distributed/tests/test_profile.py +++ b/distributed/tests/test_profile.py @@ -357,7 +357,7 @@ def test_call_stack_f_lineno(f_lasti: int, f_lineno: int) -> None: def test_stack_overflow(): old = sys.getrecursionlimit() - sys.setrecursionlimit(200) + sys.setrecursionlimit(300) try: state = create() frame = None @@ -370,7 +370,7 @@ def f(i): else: return f(i - 1) - f(sys.getrecursionlimit() - 200) + f(sys.getrecursionlimit() - 100) process(frame, None, state) assert state["children"] assert state["count"]