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

Method test_key_error_popitem

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

Source from the content-addressed store, hash-verified

1452 assert box1 == {}
1453
1454 def test_key_error_popitem(self):
1455 box1 = Box(default_box=True)
1456 with pytest.raises(BoxKeyError):
1457 box1.popitem()
1458
1459 def test_msgpack_strings(self):
1460 box1 = Box(test_dict)

Callers

nothing calls this directly

Calls 2

popitemMethod · 0.95
BoxClass · 0.90

Tested by

no test coverage detected