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