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

Class T

testing/python/raises.py:164–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

Calls

no outgoing calls

Tested by 1