Fix tests.

This commit is contained in:
INADA Naoki 2012-12-11 02:46:13 +09:00
parent 477d3b152f
commit 3478406537
4 changed files with 39 additions and 29 deletions

View file

@ -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():