Update test_isinstance.py from 3.13.7

This commit is contained in:
ShaharNaveh committed 2025-08-31 11:50:04 +03:00
1 parent 6a4d4b727c
commit 15b1b62adb
1 file changed
+1 -3
+1 -3
View File
@@ -352,9 +352,7 @@ def blowstack(fxn, arg, compare_to):
# Make sure that calling isinstance with a deeply nested tuple for its
# argument will raise RecursionError eventually.
tuple_arg = (compare_to,)
# XXX: RUSTPYTHON; support.exceeds_recursion_limit() is not available yet.
import sys
for cnt in range(sys.getrecursionlimit()+5):
for cnt in range(support.exceeds_recursion_limit()):
tuple_arg = (tuple_arg,)
fxn(arg, tuple_arg)