mirror of
https://github.com/msgpack/msgpack-python.git
synced 2025-12-08 06:09:49 +00:00
Fix using deprecated api in tests.
This commit is contained in:
parent
4bff55db9f
commit
2122b46b84
5 changed files with 29 additions and 29 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue