Skip to content

Commit

Permalink
Reduce flakiness of test_transform_aborted_if_recursion_limited (#2637)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtylerwalls authored Nov 18, 2024
1 parent 805a3f6 commit 03cd54c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def transform_call(node: Call) -> Const:
)

original_limit = sys.getrecursionlimit()
sys.setrecursionlimit(500 if IS_PYPY else 1000)
sys.setrecursionlimit(300 if IS_PYPY else 1000)

try:
with pytest.warns(UserWarning) as records:
Expand Down

0 comments on commit 03cd54c

Please sign in to comment.