Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cdgriffith/Box
/ test_no_key_error_pop
Method
test_no_key_error_pop
test/test_box.py:1449–1452 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1447
}
1448
1449
def
test_no_key_error_pop(self):
1450
box1 = Box(default_box=True)
1451
box1.pop(
"non_exist_key"
)
1452
assert box1 == {}
1453
1454
def
test_key_error_popitem(self):
1455
box1 = Box(default_box=True)
Callers
nothing calls this directly
Calls
2
pop
Method · 0.95
Box
Class · 0.90
Tested by
no test coverage detected