(self)
| 140 | ]) |
| 141 | |
| 142 | def test_nested_exception(self): |
| 143 | def f(p): |
| 144 | 1/0 |
| 145 | f_ident = ident(f) |
| 146 | self.check_events(f, [(1, 'call', f_ident), |
| 147 | # This isn't what I expected: |
| 148 | # (0, 'exception', protect_ident), |
| 149 | # I expected this again: |
| 150 | (1, 'return', f_ident), |
| 151 | ]) |
| 152 | |
| 153 | def test_exception_in_except_clause(self): |
| 154 | def f(p): |
nothing calls this directly
no test coverage detected