Lines Matching full:jump
210 # part of the if contains a jump past the else branch.
1795 # 'Jump' tests: assigning to frame.f_lineno within a trace function
1796 # moves the execution position - it's how debuggers implement a Jump
1856 raise AssertionError("Trace-function-less jump failed to fail")
1898 """Decorator that creates a test that makes a jump
1910 """Decorator that creates a test that makes a jump
1921 ## The first set of 'jump' tests are for things that are allowed:
2310 # The second set of 'jump' tests are for things that are not allowed:
2374 @async_jump_test(3, 2, [2, 2], (ValueError, "can't jump into the body of a for loop"))
2463 finally: # still executed if the jump is failed
2476 @jump_test(1, 5, [], (ValueError, "can't jump into an 'except' block as there's no exception"))
2484 @jump_test(1, 5, [], (ValueError, "can't jump into an 'except' block as there's no exception"))
2492 @jump_test(3, 6, [2, 5, 6], (ValueError, "can't jump into an 'except' block as there's no exception"))
2497 except: # executed if the jump is failed
2503 @jump_test(3, 6, [2], (ValueError, "can't jump into an 'except' block as there's no exception"))
2605 # This tests that PDB can jump back to the first line in a
2623 @jump_test(2, 3, [1], event='call', error=(ValueError, "can't jump from"
2633 "can only jump from a 'line' trace event"))
2639 "can only jump from a 'line' trace event"))