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 bf1671d commit 57cb67aCopy full SHA for 57cb67a
graalpython/com.oracle.graal.python.test/src/tests/cpyext/test_ceval.py
@@ -48,10 +48,12 @@ def compile_module(self, name):
48
super(TestCeval, self).compile_module(name)
49
50
test_Py_EnterLeaveRecursiveCall = CPyExtFunction(
51
- lambda args: None if args[0] < 1000 else RecursionError(args[1]),
+ # We don't know the exact limit on CPython since it uses the counter in
52
+ # the interpreter as well.
53
+ lambda args: None if args[0] < 800 else RecursionError(args[1]),
54
lambda: (
55
(1, ": one"),
- (999, ": nine nine nine"),
56
+ (500, ": five hundred"),
57
(10000, ": ten thousand"),
58
),
59
code="""
0 commit comments