We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e76091a commit ab78981Copy full SHA for ab78981
test/test_except.py
@@ -55,9 +55,9 @@ def test_invalidvalue():
55
def test_strict_map_key():
56
valid = {u"unicode": 1, b"bytes": 2}
57
packed = packb(valid, use_bin_type=True)
58
- assert valid == unpackb(packed, raw=True, strict_map_key=True)
+ assert valid == unpackb(packed, raw=False, strict_map_key=True)
59
60
invalid = {42: 1}
61
packed = packb(invalid, use_bin_type=True)
62
with raises(ValueError):
63
- unpackb(packed, raw=True, strict_map_key=True)
+ unpackb(packed, raw=False, strict_map_key=True)
0 commit comments