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

Method test_iter

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

Source from the content-addressed store, hash-verified

888 assert bx.popitem()
889
890 def test_iter(self):
891 bx = Box()
892 bx.a = 1
893 bx.c = 2
894 assert list(bx.__iter__()) == ["a", "c"]
895
896 def test_revered(self):
897 bx = Box()

Callers

nothing calls this directly

Calls 2

__iter__Method · 0.95
BoxClass · 0.90

Tested by

no test coverage detected