Warn when use_list is not specified.

This commit is contained in:
INADA Naoki 2012-09-24 02:12:55 +09:00
parent 96ed236c1d
commit 60df5eadaf
7 changed files with 37 additions and 23 deletions

View file

@ -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",