mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-06-19 06:02:09 +00:00
Bump sys.setrecursionlimit within test_nest_limit_1024
This commit is contained in:
parent
9de2fd9b24
commit
036f3b2ecd
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ def test_nest_limit_1024():
|
|||
|
||||
# Temporarily raise Python's recursion limit so packing 1024 levels succeeds
|
||||
old_limit = sys.getrecursionlimit()
|
||||
sys.setrecursionlimit(max(old_limit, 10000))
|
||||
sys.setrecursionlimit(max(old_limit, 30000))
|
||||
try:
|
||||
packed = packb(d)
|
||||
result = unpackb(packed)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue