mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-06-18 21:52:06 +00:00
Bump sys.setrecursionlimit within test_nest_limit_1024 (#682)
Fixes test failures with no-GIL interpreters
This commit is contained in:
parent
e327a0e93b
commit
d627d308ef
1 changed files with 1 additions and 1 deletions
|
|
@ -170,7 +170,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