(self)
| 3680 | @support.skip_wasi_stack_overflow() |
| 3681 | @support.skip_emscripten_stack_overflow() |
| 3682 | def test_recursive_call(self): |
| 3683 | # Testing recursive __call__() by setting to instance of class... |
| 3684 | class A(object): |
| 3685 | pass |
| 3686 | |
| 3687 | A.__call__ = A() |
| 3688 | with self.assertRaises(RecursionError): |
| 3689 | A()() |
| 3690 | |
| 3691 | def test_delete_hook(self): |
| 3692 | # Testing __del__ hook... |
nothing calls this directly
no test coverage detected