MCPcopy Create free account
hub / github.com/grantjenks/python-sortedcontainers / test_delitem

Function test_delitem

tests/test_coverage_sorteddict.py:72–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70 assert all((val in temp) for val in string.ascii_lowercase)
71
72def test_delitem():
73 mapping = [(val, pos) for pos, val in enumerate(string.ascii_lowercase)]
74 temp = SortedDict(mapping)
75 del temp['a']
76 temp._check()
77
78def test_getitem():
79 mapping = [(val, pos) for pos, val in enumerate(string.ascii_lowercase)]

Callers

nothing calls this directly

Calls 2

_checkMethod · 0.95
SortedDictClass · 0.90

Tested by

no test coverage detected