Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cdgriffith/Box
/ test_key_error_popitem
Method
test_key_error_popitem
test/test_box.py:1191–1194 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1189
assert box1 == {}
1190
1191
def
test_key_error_popitem(self):
1192
box1 = Box(default_box=True)
1193
with
pytest.raises(BoxKeyError):
1194
box1.popitem()
1195
1196
def
test_msgpack_strings(self):
1197
box1 = Box(test_dict)
Callers
nothing calls this directly
Calls
2
popitem
Method · 0.95
Box
Class · 0.90
Tested by
no test coverage detected