summaryrefslogtreecommitdiff
path: root/test/test_obj.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_obj.py')
-rw-r--r--test/test_obj.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_obj.py b/test/test_obj.py
index 9083218..390c1b6 100644
--- a/test/test_obj.py
+++ b/test/test_obj.py
@@ -31,7 +31,7 @@ def test_decode_pairs_hook():
assert unpacked[1] == prod_sum
def test_only_one_obj_hook():
- with raises(ValueError):
+ with raises(TypeError):
unpackb(b'', object_hook=lambda x: x, object_pairs_hook=lambda x: x)
def test_bad_hook():