MCPcopy Create free account
hub / github.com/pytest-dev/pytest / __call__

Method __call__

testing/python/raises.py:165–166  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

163
164 class T:
165 def __call__(self):
166 raise ValueError
167
168 t = T()
169 refcount = len(gc.get_referrers(t))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected