MCPcopy
hub / github.com/pytest-dev/pytest / T

Class T

testing/python/raises.py:247–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245 import gc
246
247 class T:
248 def __call__(self):
249 raise ValueError
250
251 t = T()
252 refcount = len(gc.get_referrers(t))

Callers 1

Calls

no outgoing calls

Tested by 1