MCPcopy Index your code
hub / github.com/python/cpython / registerResult

Function registerResult

Lib/unittest/signals.py:42–43  ·  view source on GitHub ↗
(result)

Source from the content-addressed store, hash-verified

40
41_results = weakref.WeakKeyDictionary()
42def registerResult(result):
43 _results[result] = 1
44
45def removeResult(result):
46 return bool(_results.pop(result, None))

Callers 1

runMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…