summaryrefslogtreecommitdiff
path: root/test/test_pack.py
diff options
context:
space:
mode:
authorINADA Naoki <inada-n@klab.com>2012-09-24 03:08:13 +0900
committerINADA Naoki <inada-n@klab.com>2012-09-24 03:08:13 +0900
commit477d3b152f5d36a48a8083b3720def2dd1f5d1a7 (patch)
tree7277d731aec21f13cd0291f9c4df92da60ddf085 /test/test_pack.py
parente38103264176d3f8e715d206e2d9d4155eb5b121 (diff)
downloadmsgpack-python-477d3b152f5d36a48a8083b3720def2dd1f5d1a7.tar.gz
Fix warnings.
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 9009d35..6af87fd 100644
--- a/test/test_pack.py
+++ b/test/test_pack.py
@@ -112,7 +112,7 @@ def test_odict():
assert_equal(unpackb(packb(od), use_list=1), dict(seq))
def pair_hook(seq):
return seq
- assert_equal(unpackb(packb(od), object_pairs_hook=pair_hook), seq)
+ assert_equal(unpackb(packb(od), object_pairs_hook=pair_hook, use_list=1), seq)
if __name__ == '__main__':