add logic to convert dict list key to tuple

This commit is contained in:
Jens Jorgensen 2025-05-12 11:28:18 -05:00
parent 0eeabfb453
commit 419fe6cf42
2 changed files with 22 additions and 0 deletions

View file

@ -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)