Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
test_raises_cyclic_reference
Method · 0.70
Calls
no outgoing calls
Tested by
1
test_raises_cyclic_reference
Method · 0.56