MCPcopy Create free account
hub / github.com/cdgriffith/Box / test_msgpack_strings_no_strick_keys

Method test_msgpack_strings_no_strick_keys

test/test_box.py:1529–1533  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1527 assert Box.from_msgpack(packed) == box1
1528
1529 def test_msgpack_strings_no_strick_keys(self):
1530 box1 = Box(test_dict)
1531 box1[5] = 2
1532 packed = box1.to_msgpack()
1533 assert Box.from_msgpack(packed, strict_map_key=False) == box1
1534
1535 def test_msgpack_files(self):
1536 box1 = Box(test_dict)

Callers

nothing calls this directly

Calls 3

to_msgpackMethod · 0.95
BoxClass · 0.90
from_msgpackMethod · 0.45

Tested by

no test coverage detected