Skip to content

Commit ab78981

Browse files
committed
Fix test
1 parent e76091a commit ab78981

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_except.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ def test_invalidvalue():
5555
def test_strict_map_key():
5656
valid = {u"unicode": 1, b"bytes": 2}
5757
packed = packb(valid, use_bin_type=True)
58-
assert valid == unpackb(packed, raw=True, strict_map_key=True)
58+
assert valid == unpackb(packed, raw=False, strict_map_key=True)
5959

6060
invalid = {42: 1}
6161
packed = packb(invalid, use_bin_type=True)
6262
with raises(ValueError):
63-
unpackb(packed, raw=True, strict_map_key=True)
63+
unpackb(packed, raw=False, strict_map_key=True)

0 commit comments

Comments
 (0)