Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cdgriffith/Box
/ test_iter
Method
test_iter
test/test_box.py:1218–1222 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1216
assert bx.popitem()
1217
1218
def
test_iter(self):
1219
bx = Box()
1220
bx.a = 1
1221
bx.c = 2
1222
assert list(bx.__iter__()) == [
"a"
,
"c"
]
1223
1224
def
test_revered(self):
1225
bx = Box()
Callers
nothing calls this directly
Calls
2
__iter__
Method · 0.95
Box
Class · 0.90
Tested by
no test coverage detected