diff options
author | Inada Naoki <songofacandy@gmail.com> | 2018-11-30 11:36:15 +0900 |
---|---|---|
committer | Inada Naoki <songofacandy@gmail.com> | 2018-11-30 11:36:15 +0900 |
commit | ab789813b8e5786f404e9132ff1c6f2647dc4afa (patch) | |
tree | 28c56d02f6fc6f7f3064ccf23ea0962cbc13b18a /test | |
parent | e76091a82c04d092a363b0e1f7307dc70bf784f5 (diff) | |
download | msgpack-python-ab789813b8e5786f404e9132ff1c6f2647dc4afa.tar.gz |
Fix test
Diffstat (limited to 'test')
-rw-r--r-- | test/test_except.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_except.py b/test/test_except.py index 01961d2..5544f2b 100644 --- a/test/test_except.py +++ b/test/test_except.py @@ -55,9 +55,9 @@ def test_invalidvalue(): def test_strict_map_key(): valid = {u"unicode": 1, b"bytes": 2} packed = packb(valid, use_bin_type=True) - assert valid == unpackb(packed, raw=True, strict_map_key=True) + assert valid == unpackb(packed, raw=False, strict_map_key=True) invalid = {42: 1} packed = packb(invalid, use_bin_type=True) with raises(ValueError): - unpackb(packed, raw=True, strict_map_key=True) + unpackb(packed, raw=False, strict_map_key=True) |