Merge branch '0.2-maint' (fix #39)

This commit is contained in:
INADA Naoki 2012-12-22 13:04:39 +09:00
commit 833b85f173
4 changed files with 22 additions and 3 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():