(self)
| 1230 | ]) |
| 1231 | |
| 1232 | def test_c_call(self): |
| 1233 | |
| 1234 | def func2(): |
| 1235 | line1 = 1 |
| 1236 | [].append(2) |
| 1237 | line3 = 3 |
| 1238 | |
| 1239 | self.check_events(func2, recorders = LINE_AND_INSTRUCTION_RECORDERS, expected = [ |
| 1240 | ("line", "get_events", 10), |
| 1241 | ("line", "func2", 1), |
| 1242 | ("instruction", "func2", 4), |
| 1243 | ("instruction", "func2", 6), |
| 1244 | ("line", "func2", 2), |
| 1245 | ("instruction", "func2", 8), |
| 1246 | ("instruction", "func2", 10), |
| 1247 | ("instruction", "func2", 30), |
| 1248 | ("instruction", "func2", 32), |
| 1249 | ("instruction", "func2", 40), |
| 1250 | ("line", "func2", 3), |
| 1251 | ("instruction", "func2", 42), |
| 1252 | ("instruction", "func2", 44), |
| 1253 | ("instruction", "func2", 46), |
| 1254 | ("instruction", "func2", 48), |
| 1255 | ("line", "get_events", 11), |
| 1256 | ]) |
| 1257 | |
| 1258 | def test_try_except(self): |
| 1259 |
nothing calls this directly
no test coverage detected