mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-07 10:19:51 +00:00
add logic to convert dict list key to tuple
This commit is contained in:
parent
0eeabfb453
commit
419fe6cf42
2 changed files with 22 additions and 0 deletions
|
|
@ -134,3 +134,6 @@ def test_match():
|
|||
|
||||
def test_unicode():
|
||||
assert unpackb(packb("foobar"), use_list=1) == "foobar"
|
||||
|
||||
def test_dict_tuple_key():
|
||||
unpackb(packb({(1, 2): 3}), strict_map_key=False)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue