summaryrefslogtreecommitdiff
path: root/test/test_format.py
diff options
context:
space:
mode:
authorINADA Naoki <songofacandy@gmail.com>2012-07-04 14:58:36 +0900
committerINADA Naoki <songofacandy@gmail.com>2012-07-04 14:58:36 +0900
commit2122b46b8489f3cf414f5ebb137f76ecc9fd9598 (patch)
treef7b3effb535fb9d8caafc6216602b08cf0df3052 /test/test_format.py
parent4bff55db9fe73e23b6da63a8b34c3679754549de (diff)
downloadmsgpack-python-2122b46b8489f3cf414f5ebb137f76ecc9fd9598.tar.gz
Fix using deprecated api in tests.
Diffstat (limited to 'test/test_format.py')
-rw-r--r--test/test_format.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_format.py b/test/test_format.py
index 022e680..c03b3e2 100644
--- a/test/test_format.py
+++ b/test/test_format.py
@@ -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",