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:1464–1468  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1462 assert Box.from_msgpack(packed) == box1
1463
1464 def test_msgpack_strings_no_strick_keys(self):
1465 box1 = Box(test_dict)
1466 box1[5] = 2
1467 packed = box1.to_msgpack()
1468 assert Box.from_msgpack(packed, strict_map_key=False) == box1
1469
1470 def test_msgpack_files(self):
1471 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