MCPcopy Index your code
hub / github.com/python/cpython / register_defect

Method register_defect

Lib/test/test_email/test_policy.py:207–208  ·  view source on GitHub ↗
(self, obj, defect)

Source from the content-addressed store, hash-verified

205 def __init__(self, *args, **kw):
206 super().__init__(*args, defects=[], **kw)
207 def register_defect(self, obj, defect):
208 self.defects.append(defect)
209
210 def test_overridden_register_defect_still_raises(self):
211 foo = self.MyObj()

Callers 1

test_register_defectMethod · 0.45

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected