void () { runPythonTest(new PyDebuggerTask("/debug", "test_update_series_in_debug_console.py") { @Override public void before() throws Exception { toggleBreakpoint(11); } @Override public void testing() throws Exception { waitForPause(); eval("str(a[40])").hasValue("'1'"); consoleExecAndWait("a[40] = 100"); eval("str(a[40])").hasValue("'100'"); consoleExecAndWait(" def g():\n" + " return pd.Series(index=[40,50,60], data=[1,2,3])"); consoleExecAndWait("a = g()"); eval("str(a[40])").hasValue("'1'"); resume(); waitForTerminate(); } @NotNull @Override public Set<String> getTags() { return ImmutableSet.of("pandas"); } }); }