mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-04-12 14:10:17 +00:00
Warn when use_list is not specified.
This commit is contained in:
parent
96ed236c1d
commit
60df5eadaf
7 changed files with 37 additions and 23 deletions
|
|
@ -34,7 +34,7 @@ def test_exceeding_unpacker_read_size():
|
|||
f = io.BytesIO(dumpf.getvalue())
|
||||
dumpf.close()
|
||||
|
||||
unpacker = msgpack.Unpacker(f, read_size=read_size)
|
||||
unpacker = msgpack.Unpacker(f, read_size=read_size, use_list=1)
|
||||
|
||||
read_count = 0
|
||||
for idx, o in enumerate(unpacker):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue