Fix using deprecated api in tests.

This commit is contained in:
INADA Naoki 2012-07-04 14:58:36 +09:00
parent 4bff55db9f
commit 2122b46b84
5 changed files with 29 additions and 29 deletions

View file

@ -3,10 +3,10 @@
from nose import main
from nose.tools import *
from msgpack import unpacks
from msgpack import unpackb
def check(src, should):
assert_equal(unpacks(src), should)
assert_equal(unpackb(src), should)
def testSimpleValue():
check(b"\x93\xc0\xc2\xc3",