mirror of
https://github.com/msgpack/msgpack-python.git
synced 2025-11-03 11:00:55 +00:00
Fix tests.
This commit is contained in:
parent
477d3b152f
commit
3478406537
4 changed files with 39 additions and 29 deletions
|
|
@ -34,7 +34,7 @@ def test_decode_pairs_hook():
|
|||
|
||||
@raises(ValueError)
|
||||
def test_only_one_obj_hook():
|
||||
unpackb(b'', object_hook=lambda x: x, object_pairs_hook=lambda x: x)
|
||||
unpackb(b'', object_hook=lambda x: x, object_pairs_hook=lambda x: x, use_list=1)
|
||||
|
||||
@raises(ValueError)
|
||||
def test_bad_hook():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue