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

Function stress_remove

tests/test_stress_sortedset.py:125–129  ·  view source on GitHub ↗
(sst)

Source from the content-addressed store, hash-verified

123
124@actor
125def stress_remove(sst):
126 for rpt in range(100):
127 pos = random.randrange(0, len(sst))
128 val = sst[pos]
129 sst.remove(val)
130
131@actor
132def stress_update(sst):

Callers

nothing calls this directly

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected