mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Update test_isinstance.py from 3.13.7
This commit is contained in:
1 parent
6a4d4b727c
commit
15b1b62adb
1 file changed
+1
-3
Vendored
+1
-3
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user