Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ Dummy
Class
Dummy
Lib/test/test_email/test_policy.py:169–171 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
167
168
def
test_register_defect(self):
169
class
Dummy:
170
def
__init__(self):
171
self.defects = []
172
obj = Dummy()
173
defect = object()
174
policy = email.policy.EmailPolicy()
Callers
1
test_register_defect
Method · 0.70
Calls
no outgoing calls
Tested by
1
test_register_defect
Method · 0.56
Used in the wild
real call sites across dependent graphs
searching dependent graphs…