Skip to content

Commit 03cd54c

Browse files
Reduce flakiness of test_transform_aborted_if_recursion_limited (#2637)
1 parent 805a3f6 commit 03cd54c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_transforms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def transform_call(node: Call) -> Const:
274274
)
275275

276276
original_limit = sys.getrecursionlimit()
277-
sys.setrecursionlimit(500 if IS_PYPY else 1000)
277+
sys.setrecursionlimit(300 if IS_PYPY else 1000)
278278

279279
try:
280280
with pytest.warns(UserWarning) as records:

0 commit comments

Comments
 (0)