(self)
| 3212 | self.check_note(MyRuntimeError(msg), msg, MyRuntimeError) |
| 3213 | |
| 3214 | def test_init_override(self): |
| 3215 | class CustomInit(RuntimeError): |
| 3216 | def __init__(self): |
| 3217 | pass |
| 3218 | self.check_note(CustomInit, "") |
| 3219 | |
| 3220 | def test_new_override(self): |
| 3221 | class CustomNew(RuntimeError): |
nothing calls this directly
no test coverage detected