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

Source from the content-addressed store, hash-verified

1199 assert Box.from_msgpack(packed) == box1
1200
1201 def test_msgpack_strings_no_strick_keys(self):
1202 box1 = Box(test_dict)
1203 box1[5] = 2
1204 packed = box1.to_msgpack()
1205 assert Box.from_msgpack(packed, strict_map_key=False) == box1
1206
1207 def test_msgpack_files(self):
1208 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