summaryrefslogtreecommitdiff
path: root/test/test_pack.py
diff options
context:
space:
mode:
authorINADA Naoki <inada-n@klab.com>2013-02-04 15:16:17 +0900
committerINADA Naoki <inada-n@klab.com>2013-02-04 15:16:17 +0900
commit6740b90385b2d8a23fe7ace6e9a69f62e7a0e14c (patch)
tree728d616ffb33a27ba00bd1a331d199f4434029b2 /test/test_pack.py
parent266eaf813d4e958dce5a2a8c4a84babf331369f0 (diff)
parenta865f8f7e94ea5b484771c1be3fe57ff3a63aa2a (diff)
downloadmsgpack-python-6740b90385b2d8a23fe7ace6e9a69f62e7a0e14c.tar.gz
Merge branch 'purepython'
Diffstat (limited to 'test/test_pack.py')
-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