()
| 1084 | |
| 1085 | def test_caret_for_call(self): |
| 1086 | def f_with_call(): |
| 1087 | def f1(a): |
| 1088 | def f2(b): |
| 1089 | raise RuntimeError("fail") |
| 1090 | return f2 |
| 1091 | return f1("x")("y")("z") |
| 1092 | |
| 1093 | lineno_f = f_with_call.__code__.co_firstlineno |
| 1094 | expected_error = ( |