mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-04-11 13:50:19 +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
|
|
@ -5,8 +5,8 @@ from nose import main
|
|||
from nose.tools import *
|
||||
from msgpack import unpackb
|
||||
|
||||
def check(src, should):
|
||||
assert_equal(unpackb(src), should)
|
||||
def check(src, should, use_list=0):
|
||||
assert_equal(unpackb(src, use_list=use_list), should)
|
||||
|
||||
def testSimpleValue():
|
||||
check(b"\x93\xc0\xc2\xc3",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue