summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorINADA Naoki <inada-n@klab.com>2013-02-03 00:20:00 +0900
committerINADA Naoki <inada-n@klab.com>2013-02-03 00:20:00 +0900
commit22920baae6957e2259a82d0595c2b97fc58fcd02 (patch)
tree5b81cff77ca5492dc2b88c7d3efe0d91df640642 /test
parent0536d1bd0cb5c781b41e8cf7ede66448396dc993 (diff)
downloadmsgpack-python-22920baae6957e2259a82d0595c2b97fc58fcd02.tar.gz
Fix minor bugs and tuning unpacking dict.
Diffstat (limited to 'test')
-rw-r--r--test/test_pack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_pack.py b/test/test_pack.py
index 8f4117c..3225f41 100644
--- a/test/test_pack.py
+++ b/test/test_pack.py
@@ -151,7 +151,7 @@ def test_odict():
od = odict(seq)
assert unpackb(packb(od), use_list=1) == dict(seq)
def pair_hook(seq):
- return seq
+ return list(seq)
assert unpackb(packb(od), object_pairs_hook=pair_hook, use_list=1) == seq