8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50916d6 commit 7cfbad1Copy full SHA for 7cfbad1
tests/test_transforms.py
@@ -265,6 +265,9 @@ def transform_class(cls):
265
"""
266
)
267
268
+ @pytest.mark.skipif(
269
+ IS_PYPY, reason="Could not find a useful recursion limit on all versions"
270
+ )
271
def test_transform_aborted_if_recursion_limited(self):
272
def transform_call(node: Call) -> Const:
273
return node
@@ -274,7 +277,7 @@ def transform_call(node: Call) -> Const:
274
277
275
278
276
279
original_limit = sys.getrecursionlimit()
- sys.setrecursionlimit(500 if IS_PYPY else 1000)
280
+ sys.setrecursionlimit(1000)
281
282
try:
283
with pytest.warns(UserWarning) as records:
0 commit comments