mirror of
https://github.com/msgpack/msgpack-python.git
synced 2025-10-19 20:03:16 +00:00
Fix warnings.
This commit is contained in:
parent
e381032641
commit
477d3b152f
2 changed files with 2 additions and 2 deletions
|
@ -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__':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue