(self)
| 3223 | self.check_note(MyRuntimeError(msg), msg, MyRuntimeError) |
| 3224 | |
| 3225 | def test_init_override(self): |
| 3226 | class CustomInit(RuntimeError): |
| 3227 | def __init__(self): |
| 3228 | pass |
| 3229 | self.check_note(CustomInit, "") |
| 3230 | |
| 3231 | def test_new_override(self): |
| 3232 | class CustomNew(RuntimeError): |
nothing calls this directly
no test coverage detected