void () { runPythonTest(new PySmartStepIntoDebuggerTask( "test_smart_step_into_decorator2.py") { @Override public void before() { toggleBreakpoints(15, 26); } @Override public void testing() throws Exception { waitForPause(); assertSmartStepIntoVariants("foo", "foo", "generate_power"); stepOver(); waitForPause(); assertSmartStepIntoVariants("foo", "foo", "generate_power"); smartStepInto("generate_power", 0); waitForPause(); toggleBreakpoint(26); eval("exponent").hasValue("5"); resume(); waitForPause(); resume(); waitForTerminate(); } @Override public @NotNull Set<String> getTags() { return ImmutableSet.<String>builder().addAll(super.getTags()).add("python2.7").build(); } }); }