void () { runPythonTest(new PySmartStepIntoDebuggerTask("test_smart_step_into_native_function_in_return.py") { @Override public void before() { toggleBreakpoint(5); } @Override public void testing() throws Exception { waitForPause(); smartStepInto("f", 0); waitForPause(); stepInto(); waitForPause(); assertSmartStepIntoVariants("swapcase"); smartStepInto("swapcase", 0); waitForPause(); assertSmartStepIntoVariants("f", "f", "f", "f"); smartStepInto("f", 1); waitForPause(); stepInto(); waitForPause(); assertSmartStepIntoVariants("swapcase"); smartStepInto("swapcase", 0); waitForPause(); resume(); waitForTerminate(); } }); }