MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_no_jump_from_call

Method test_no_jump_from_call

Lib/test/test_sys_settrace.py:2127–2132  ·  view source on GitHub ↗
(output)

Source from the content-addressed store, hash-verified

2125 @jump_test(2, 3, [1], event='call', error=(ValueError, "can't jump from"
2126 " the 'call' trace event of a new frame"))
2127 def test_no_jump_from_call(output):
2128 output.append(1)
2129 def nested():
2130 output.append(3)
2131 nested()
2132 output.append(5)
2133
2134 # TODO: RUSTPYTHON
2135 @unittest.expectedFailure

Callers

nothing calls this directly

Calls 2

nestedFunction · 0.50
appendMethod · 0.45

Tested by

no test coverage detected